|October 1, 2010, 12:21||
Complicated boundary conditions !
Join Date: Sep 2010
Posts: 169Rep Power: 6
I have this complicated boundary condition:
In my solver i calculates a flux vector filed J=function(c)
where c is a scalarField to be later solved in the same solver.
lets say this looks my solver:
and here i calculate the volVectorField J
J=something complicated as function of c;here J=div(pow(1-c/0.5)*Q);
where Q is a defined 2nd order tensor of constants.
after that in same solver i solve c equation
fvm::ddt(c) + fvm::div(phi,c) == fvc::div(J)
since i solve the "c" scalar equation, so of course i must define the BC for it
and here comes the problem since:
when i go to define the Patches BC for "c", i need in my case to set one Patch BC where the value of Flux J=0, so BC here for "c" must be an expression "Jy=0" (value of the component of vector J in direction of y is zero, that is normal to the surface xz).
where J is a vectorField calculated as function of c previously in the solver
as i mentioned.
How to do that?
|Thread||Thread Starter||Forum||Replies||Last Post|
|symmetry boundary conditions in cfx||lost.identity||CFX||41||May 22, 2013 08:21|
|Impinging Jet Boundary Conditions||Anindya||Main CFD Forum||24||January 11, 2012 14:40|
|boundary conditions and mesh exporting||vaina74||Open Source Meshers: Gmsh, Netgen, CGNS, ...||2||May 27, 2010 10:38|
|Pressure boundary conditions||Lionel S.||Main CFD Forum||1||August 24, 2007 19:03|
|Trimmed cell and embedded refinement mesh conversion issues||michele||OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...||2||July 15, 2005 05:15|