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 Feb 7, 2013, 8:40 AM EST 2 Replies
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?