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

Adding transport equation in simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2013, 11:01
Default Adding transport equation for tangential velocity in simpleFoam
  #1
New Member
 
Sohail
Join Date: Mar 2012
Posts: 11
Rep Power: 14
iqbalsk8 is on a distinguished road
Hello everyone.

I am simulating an 2D-axisymmetric case with simpleFoam. The simulation worked fine with simpleFoam.

But now I want to add a new equation for tangential component to the solver.

the transport equation for "w" is,

div(phi, w) = Laplacian(nu, w) + nu/y*(dw/dy) -nu/y*(w/y)

Can anybody give me an idea how to put the second and third
term in the code....
fvScalarMatrix UwEqn
(

fvm::div(phi, w)
- fvm::laplacian(nu, w)
.............. second term
.............. third term
);
I have attached a file for convenience. any suggestion would be welcomed!

Best regards,

Sohail Iqbal
Attached Files
File Type: h wEqn.H (598 Bytes, 11 views)

Last edited by iqbalsk8; February 21, 2013 at 12:13. Reason: Further information
iqbalsk8 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Transport equation in Solid domain Gerradar CFX 3 July 16, 2005 00:07
transport (advection) equation DJ Main CFD Forum 0 February 21, 2005 12:18
transport equation for SGS scalar variance chinthakindi Main CFD Forum 0 April 27, 2004 10:26


All times are GMT -4. The time now is 18:37.