|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
|
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
|
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Burgerbs equation non constant Boundary Conditions Initial Conditions | arkangel | OpenFOAM Running, Solving & CFD | 1 | October 2, 2008 14:48 |
| Initial conditions | Shuo | Main CFD Forum | 2 | July 27, 2007 08:57 |
| Initial conditions = final conditions | Chucho | CFX | 5 | December 16, 2005 17:14 |
| Initial Conditions | Carola | CFX | 3 | May 21, 2003 12:03 |
| Initial conditions in CFX 5.5 | Astrid | CFX | 3 | December 18, 2001 23:24 |