Normalization of Velocity Profile for Use in Another Model IC #23347
-
In order to have an initial guess near the expected final solution, I am solving a problem domain for the velocity profile using fluid properties that provide a more easily converged solution. I would like to then take that solution and normalize it in relation to the maximum velocity. Is there a way for me to then use, the stored solution, normalize it, then provide a multiplier for the expected max velocity based on the actual fluid properties to be used, to then be the initial conditions based on the normalized and multiplied velocity profile? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello yes you can do that. you can then use this other auxiliary variable for the initialization by loading it from a file again. Basically you ll need an intermediate input file to perform these operations If you’re comfortable with MultiApps you could do this in a multi app executed on INITIAL Guillaume |
Beta Was this translation helpful? Give feedback.
Hello
yes you can do that.
you ll want to save the variables in an exodus output for example. Then load them into auxiliary variables. Then use an auxkernel (likely ParsedAux) to perform the operations you wanton that field and save the output in another auxvariable.
you can then use this other auxiliary variable for the initialization by loading it from a file again.
Basically you ll need an intermediate input file to perform these operations
If you’re comfortable with MultiApps you could do this in a multi app executed on INITIAL
Guillaume