CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Complicated boundary conditions !

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2010, 12:21
Post Complicated boundary conditions !
  #1
Senior Member
 
Join Date: Sep 2010
Location: France
Posts: 169
Rep Power: 6
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
.
solve
(
fvm::ddt(c) + fvm::div(phi,c) == fvc::div(J)
);
.
.
etc


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

Reply

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 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


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