Hi,
I am trying to model vi
Hi,
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? Antonio |
Hello Antonio,
For scalars
Hello Antonio,
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. Regards, Jose Santos |
All times are GMT -4. The time now is 04:58. |