|February 19, 2015, 19:18||
Mass source term definition in UDF for an axisymmetric problem
Join Date: May 2012
Posts: 18Rep Power: 5
I am working on an axisymmetric domain and have to define a mass source on one of the boundaries. (It is a rectangular domain that I am using: cylinder in axisymmetric case)
The part of the UDF that computes the mass source term is as follows:
f = C_FACE(c,t,i);
tf = C_FACE_THREAD(c,t,i);
if(THREAD_ID(C_FACE_THREAD(c,t,i)) == inlet_mass_source)
area_face = A;
dS[eqn] = 0;
The current code results in no convergence of the x-velocity and y-velocity.
I wanted to know what area does the F_AREA calculate for an axisymmetric problem?
Also if anyone has worked on an axisymmetric problem with mass source defined, it would be of great help if they can share their procedure for defining the mass source?
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenFOAM without MPI||kokizzu||OpenFOAM Installation||4||May 26, 2014 09:17|
|Swak4Foam funkyDoCalc with OF2.3 massflow||NiFl||OpenFOAM||8||March 24, 2014 21:06|
|build problem swak4Foam OF 2.2.0||mcathela||OpenFOAM Installation||14||April 23, 2013 13:59|
|"parabolicVelocity" in OpenFoam 2.1.0 ?||sawyer86||OpenFOAM Running, Solving & CFD||21||February 7, 2012 12:44|
|UDF Scalar Code: HT 1||Greg Perkins||FLUENT||8||October 20, 2000 12:40|