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

Doubt in term representation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2009, 13:26
Default Doubt in term representation
  #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 everybody,

I have a doubt in the representation of a term in OpenFoam. I have to represent in openFoam a term in the form (1/rho)*div(tension), where rho is a scalar representing the density, and tension is volume tensorial field. I am using the following operator representation in Foam, in the form

(1/rho)*fvc::div(tension)

However, I am getting the results expected. Is there any difference in representing the term in the form

fvc::div(tension/rho)

in terms of calculations.

António Martins
titio is offline   Reply With Quote

Old   May 7, 2009, 14:38
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Antonio,

The two expressions are equivalent. But there would be a difference is if rho was a field.

Henrik
henrik is offline   Reply With Quote

Reply


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
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
question about term representation titio OpenFOAM Running, Solving & CFD 0 May 4, 2009 09:17
Doubt in term ddtPhiCorr titio OpenFOAM Running, Solving & CFD 0 April 29, 2009 15:35
Doubt in term representation titio OpenFOAM Running, Solving & CFD 0 April 29, 2009 15:29
Question on term representation titio OpenFOAM Running, Solving & CFD 0 February 4, 2009 10:19


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