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

How to set the value of a varying coefficient on cell faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2019, 06:27
Default How to set the value of a varying coefficient on cell faces
  #1
Member
 
Wenming Yang
Join Date: Jun 2018
Posts: 42
Rep Power: 7
ywem is on a distinguished road
Dear Foamers
In my case, there is a coefficient which varies with the calculated quantity. It has the following form on cell faces,
mue=[fe/muE+(1-fe)/muP]^-1
where fe is the distance form the cell face to one cell center, muE and muP are the values of the coefficient defined on two neighbour cell centers, respectively.
Can anyone help me for how to set this coefficient on cell faces?
Thank you in advance.
ywem is offline   Reply With Quote

Reply

Tags
boundary coefficient


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
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 08:26
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01


All times are GMT -4. The time now is 20:04.