CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Derived Boundary condition (https://www.cfd-online.com/Forums/openfoam/114623-derived-boundary-condition.html)

mmkr825 March 14, 2013 07:50

Derived Boundary condition
 
Hi Foamers,
I am using OpenFOAM2.1.1 version. My solver is steady state and i prepared it by modifying "simpleFoam" solver. I am facing problem with boundary condition for the scalar field (lets say T).
The governing equation for the field T as follows:
Code:

solve
    (
        fvm::div(phi, T)
      + fvc::div(J)
    );

At the fixed Walls i need to apply zero flux boundary condition. In the above equation "J" is the flux. So i need to apply J.n=0 at fixed walls. I have little experienced in handling "groovyBC". I know how to use groovyBC for grad(T) and grid varying fixed value. But when i solve J.n=0, i am not getting the expressions for grad(T) or grid varying fixed value.
Can anyone help me. Thanks in advance.

Regards
M Mallikarjuna Reddy


All times are GMT -4. The time now is 01:45.