CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Complicated boundary conditions !

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 1, 2010, 11:21
Post Complicated boundary conditions !
Senior Member
Join Date: Sep 2010
Location: France
Posts: 194
Rep Power: 7
T.D. is on a distinguished road
Hi Foamers,

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?
Any Ideas?

Help please?
T.D. is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07: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 09:38
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 08:27.