Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Parameterise the position in a text file?

$
0
0
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?



Viewing all articles
Browse latest Browse all 26527

Trending Articles