CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Complicated boundary conditions !

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2010, 11:21
Post Complicated boundary conditions !
  #1
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Impinging Jet Boundary Conditions Anindya Main CFD Forum 25 February 27, 2016 12:58
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07:21
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 09:38
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 07:29.