Hi, I am trying to model vi
I am trying to model viscoelastic flow using OpenFoam. Right now I have a problem on how to define initial conditions and fields for the tensions. Can I do it extending createFields.H, for example of icoFoam, and defining a data file similar to p and U? Can anyone help me out?
Hello Antonio, For scalars
For scalars and vectors, you may use p and U as a template for declaring your fields in createFields.H.
For tensors, use volTensorField fieldName, the other lines are the same.
To define initial conditions you need to edit your <case>/0/<field> files. Look in the UserGuide for guidance.
|All times are GMT -4. The time now is 12:05.|