codedBase: Merged with CodedBase to simplify and rationalise the implementation
This commit is contained in:
@ -17,19 +17,19 @@ FoamFile
|
||||
|
||||
application potentialFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt nextWrite;
|
||||
stopAt nextWrite;
|
||||
|
||||
endTime 1;
|
||||
|
||||
deltaT 1;
|
||||
|
||||
writeControl timeStep;
|
||||
writeControl timeStep;
|
||||
|
||||
writeInterval 1;
|
||||
writeInterval 1;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
@ -54,9 +54,6 @@ functions
|
||||
|
||||
type coded;
|
||||
|
||||
// Name of on-the-fly generated functionObject
|
||||
name error;
|
||||
|
||||
codeEnd
|
||||
#{
|
||||
// Lookup U
|
||||
|
||||
@ -53,11 +53,10 @@ maxDeltaT 1;
|
||||
|
||||
functions
|
||||
{
|
||||
timeStep
|
||||
setDeltaT
|
||||
{
|
||||
type coded;
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
name setDeltaT;
|
||||
|
||||
code
|
||||
#{
|
||||
|
||||
@ -56,7 +56,6 @@ totalMass
|
||||
{
|
||||
type coded;
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
name error;
|
||||
|
||||
codeExecute
|
||||
#{
|
||||
|
||||
Reference in New Issue
Block a user