Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Parameterise the position in a text file?
Posted 07.02.2013, 08:40 GMT-5 2 Replies
Please login with a confirmed email address before reporting spam
Hello,
I want to use the 2D distribution of the relative permeability of a nonlinear calculation in a linear calculation of the same Model with same parameters etc.
For that I export the data of the relative Permeability, depending on my Parameter (Parametric Sweep) and the coordinates x and y (See attached file "Forum 2.png").
This text file is being imported into the linear model with an interpolation function and the source is set to "file" with 2 arguments!
It is possible to write every single "Position in File" per Hand, but since I want to use ca. 100 Parameter values, this would just take too long.
However, if I want to choose a parameter for the "Position in file" (same parameter as my Parametric Sweep parameter), COMSOL only allows positive integers (See attached File "Forum 1.png")
Do you guys have any tips?
I want to use the 2D distribution of the relative permeability of a nonlinear calculation in a linear calculation of the same Model with same parameters etc.
For that I export the data of the relative Permeability, depending on my Parameter (Parametric Sweep) and the coordinates x and y (See attached file "Forum 2.png").
This text file is being imported into the linear model with an interpolation function and the source is set to "file" with 2 arguments!
It is possible to write every single "Position in File" per Hand, but since I want to use ca. 100 Parameter values, this would just take too long.
However, if I want to choose a parameter for the "Position in file" (same parameter as my Parametric Sweep parameter), COMSOL only allows positive integers (See attached File "Forum 1.png")
Do you guys have any tips?
Attachments:
2 Replies Last Post 08.02.2013, 04:31 GMT-5