|August 13, 2012, 04:44||
How to prescribe a hyperbolic tangent profile into a transition interface of a field
Join Date: Mar 2011
Location: Karlsruhe, Germany
Posts: 9Rep Power: 7
I've added a scalar transport equation into icoFoam for a concentration field (denoted as C). So generally the varying distribution of the field C is governed by the added transport equation. See the attached image, the pure red region where C=+1 represents one phase and the pure blue where C=-1 means the other. But for transition layer where the concentration changes from -1 to +1 , I want to prescribe a hyperbolic tangent profile C = tanh(x/a) where x indicates the local coordinate normal to the transition layer/interface, a is a parameter.
So could anyone give me some suggestions or hints on how to prescribe the profile for the transition layer? Thank you very much in advance.
|Thread||Thread Starter||Forum||Replies||Last Post|
|problems after decomposing for running||alessio.nz||OpenFOAM||6||December 23, 2015 15:27|
|Unsteady Boundary Profile with data file||Arianna||FLUENT||27||August 9, 2015 14:56|
|Moving mesh||Niklas Wikstrom (Wikstrom)||OpenFOAM Running, Solving & CFD||122||June 15, 2014 06:20|
|Interface Matching and Field Function problems||PLUH||STAR-CCM+||3||July 6, 2009 08:33|
|Problem with rhoSimpleFoam||matteo_gautero||OpenFOAM Running, Solving & CFD||0||February 28, 2008 07:51|