0
Regarding Time Dependent BC

Hi

I am trying to enter a time dependent boundary condition for my inlet .

I am trying to use codestream for this

my code looks something like this, now I donn't know how to proceed further

inlet
{
type fixedValue;
value #codeStrea
{
codeInclude
#{
#include "fvCFD.H"
#};

codeOptions
#{
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
#};

codeLibs
#{
-lmeshTools \
-lfiniteVolume
#};

code
#{
const scalar pi = constant::mathematical::pi;

forAll (U,i)
{
const scalar y = patch.Cf()[i][1];





}

pls help


OpenFOAM 12-08-21, 10:29 a.m. prth_bndl
0

Hi,

The document in the link below should help with your codedFixedValue boundary condition. It details defining time-dependent boundary conditions in OpenFOAM.

http://www.wolfdynamics.com/wiki/prog_codestreamINIT.pdf

Please let us know if you have any questions.

Regards,
Ashley

12-08-21, 6:51 p.m. ashleymelvin


0

Thank you for posting walgreenslistens, I found a lot of interesting information here. very thankful and helpful.

13-08-21, 11:36 a.m. Emery18


Log-in to answer to this question.