TUT: example of patch expressions (#2114)

This commit is contained in:
Getnet Agegnehu
2021-06-16 10:00:00 -05:00
committed by Mark Olesen
parent f39fedb7f9
commit a3d90ae9b9

View File

@ -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)
#};
}
}