CFD Online Logo CFD Online URL
Home > Forums

Notes for OpenFOAM!

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

In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post, which I think could be helpful as a reminder for my Alzheimer condition

codedFixedValue Boundary Condition

Posted April 11, 2012 at 16:57 by Hisham (Notes for OpenFOAM!)

This is an example of using codedFixedValue boundary condition to input expressions that are time and position dependent.

      type               codedFixedValue; 
      value              uniform (0 0 0); //$internalField;
      redirectType    BC_Given_Name; 
	     fixedValueFvPatchVectorField myPatch (*this);
	     forAll(myPatch, celli)
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 1561 Comments 0 Hisham is offline Edit Tags

All times are GMT -4. The time now is 16:34.