Spatial initial condition from file #29595
-
Check these boxes if you have followed the posting rules.
QuestionHi,
and if it can interpolate on the nodes like a I would appreciate it if you could guide me with this. This is a sample input file I was trying to modify for this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello If the grid is regular the Piecewise(Multi)Constant Piecewise(Multi)Linear functions can read it, and the FunctionIC can be used: then this If not, use a PropertyReadFile user object to read the file (using the "voronoi" mode), then a PiecewiseConstantFromCSV function and a FunctionIC |
Beta Was this translation helpful? Give feedback.
Hello
If the grid is regular the Piecewise(Multi)Constant Piecewise(Multi)Linear functions can read it, and the FunctionIC can be used:
https://mooseframework.inl.gov/source/functions/PiecewiseMultiConstant.html
https://mooseframework.inl.gov/source/functions/PiecewiseMultiLinear.html
then this
https://mooseframework.inl.gov/source/ics/FunctionIC.html
If not, use a PropertyReadFile user object to read the file (using the "voronoi" mode), then a PiecewiseConstantFromCSV function and a FunctionIC
https://mooseframework.inl.gov/source/userobjects/PropertyReadFile.html
https://mooseframework.inl.gov/source/functions/PiecewiseConstantFromCSV.html