CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Definition of tensions initial conditions

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 15, 2009, 17:18
Default Hi, I am trying to model vi
Senior Member
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 8
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio

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?

titio is offline   Reply With Quote

Old   January 16, 2009, 07:52
Default Hello Antonio, For scalars
Senior Member
santos's Avatar
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 214
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
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.

Jose Santos
santos is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 18:14
Initial Conditions Carola CFX 3 May 21, 2003 12:03
Initial conditions in CFX 5.5 Astrid CFX 3 December 19, 2001 00:24

All times are GMT -4. The time now is 09:59.