Commit a3d90ae9 authored by Getnet Agegnehu's avatar Getnet Agegnehu Committed by Mark Olesen
Browse files

TUT: example of patch expressions (#2114)

parent f39fedb7
......@@ -36,6 +36,21 @@ boundaryField
{
type fixedValue;
value uniform 350;
// For general testing purposes:
type exprFixedValue;
variables
(
"Tcrit = 500"
"par1 = mag(internalField(U))/snGrad(T)"
);
valueExpr
#{
Tcrit
+ par1*internalField(T) * max((Tcrit-T)/(Tcrit)*deltaT()/time(),0)
#};
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment