

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


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


Thank you for posting walgreenslistens, I found a lot of interesting information here. very thankful and helpful.
Thanks for posting nekopoi, I have found a vast info on this page, I am extremely happy and thankful.
Login to add comment














If you like to play games then you shouldn't miss downloading minecraft mod apk in your phone
05-01-23, 6:19 p.m. nekopoiapk
Login to add comment