CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Adding two terms in the momentum equation in in chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2015, 12:42
Arrow Adding two terms in the momentum equation in in chtMultiRegionSimpleFoam
  #1
New Member
 
zahra
Join Date: Jun 2014
Location: Iran-Tehran
Posts: 28
Rep Power: 11
zahraa is on a distinguished road
Hi everybody,
I want to add the following two terms to the momentum equation in UEqn.H in the form of coding but i am not familiar with coding. Can someone help me please?(how should i write the following equation in the form of coding?)

mu*(v/k)+rho*(b*|v|*v/k)


mu=viscosity
v=velocity vector
k=Conductivity coefficient
rho=density
b=constant value

Thanks!
zahraa 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
Source term in the compressible momentum equation dduque OpenFOAM Programming & Development 2 April 10, 2015 04:58
error message cuteapathy CFX 14 March 20, 2012 06:45
adding Au (A is a constant) term to the momentum equation via udf shahri20 FLUENT 0 November 29, 2011 05:03
Discretization of momentum equation query siw CFX 0 June 20, 2011 08:38
Source Terms in momentum Balance vidyaraja FLUENT 0 May 25, 2009 13:16


All times are GMT -4. The time now is 17:51.