CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Definition of tensions initial conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2009, 16:18
Default Hi, I am trying to model vi
  #1
Senior Member
 
Antonio Martins
Join Date: Mar 2009
Location: Porto, Porto, Portugal
Posts: 112
Rep Power: 17
titio is on a distinguished road
Send a message via MSN to titio Send a message via Skype™ to titio
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
titio is offline   Reply With Quote

Old   January 16, 2009, 06:52
Default Hello Antonio, For scalars
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
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.

Regards,
Jose Santos
santos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 06:10.