blueCFD / Core

Coordination repository for the blueCFD-Core: Issue tracking, Wiki, project webpage and miscellaneous scripts
http://bluecfd.github.io/Core
52 stars 10 forks source link

swak4Foam not work #101

Closed haibianshifeng closed 6 years ago

haibianshifeng commented 6 years ago

I installed the swak4Foam in blueCFD 2017 as following:https://github.com/blueCFD/Core/wiki/Building-swak4Foam-with-blueCFD-Core.

The log file in the attachment, fortunately, there are no error.

When I run the example which run on linux with openfoam and swak4foam fluently.

however, When I run on the blueCFD, the error appears.

/---------------------------------------------------------------------------\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 5.x | | \ / A nd | Web: www.OpenFOAM.org | | \/ M anipulation | | *---------------------------------------------------------------------------/ / Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt \ | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com | *---------------------------------------------------------------------------/ Build : 5.x-7ac8a133a3b0 Exec : D:/blueCFD-Core-2017/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/interFoam.exe Date : May 28 2018 Time : 18:26:58 Host : "LEIL-PC" PID : 13152 I/O : uncollated Case : I:/Ti_twophase_test/dar nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations

// * // Create time

Create mesh for time = 0

PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Selecting laminar stress model Stokes

Reading g

Reading hRef Calculating field g.h

No MRF models present

No finite volume options present

GAMG: Solving for pcorr, Initial residual = 1, Final residual = 8.05553e-006, No Iterations 66 GAMG: Solving for pcorr, Initial residual = 1.67694e-009, Final residual = 1.67694e-009, No Iterations 0 time step continuity errors : sum local = 3.72156e-009, global = -6.10222e-011, cumulative = -6.10222e-011 Courant Number mean: 0.58792 max: 13.014

--> FOAM FATAL IO ERROR: 'functions' entry is not a dictionary

file: I:/Ti_twophase_test/dar/system/controlDict from line 18 to line 11872.

From function bool Foam::functionObjectList::read()
in file db/functionObjects/functionObjectList/functionObjectList.C at line 586.

FOAM exiting

y 5oit11wg 8f70g 7p g5

log.zip controlDict.zip

wyldckat commented 6 years ago

It would be helpful to know which versions of swak4Foam and OpenFOAM you've used on Linux, in order to try and figure out if there is a bug on Linux as well or not.

But the problem is that functions is not meant to be a list like you have:

functions
(
   // ...
);

But instead, it's meant to be a bracket block:

functions
{
   // ...
}

See for example this tutorial case on the official OpenFOAM 5.x repository: https://github.com/OpenFOAM/OpenFOAM-5.x/blob/master/tutorials/incompressible/simpleFoam/motorBike/system/controlDict#L47

I do have a vague memory of using a list having worked in older versions of OpenFOAM, but there was a revision made to this in OpenFOAM 4.0, if I remember correctly... so I'm guessing that you used OpenFOAM 3.0 or 2.3/2.4 on Linux?

haibianshifeng commented 6 years ago

The version of OpenFoam is 2.4.0 and the version of Linux is 14.04.

I will try the example.

2018-05-28 18:59 GMT+08:00 Bruno Santos notifications@github.com:

It would be helpful to know which versions of swak4Foam and OpenFOAM you've used on Linux, in order to try and figure out if there is a bug on Linux as well or not.

But the problem is that functions is not meant to be a list like you have:

functions ( // ... );

But instead, it's meant to be a bracket block:

functions { // ... }

See for example this tutorial case on the official OpenFOAM 5.x repository: https://github.com/OpenFOAM/OpenFOAM-5.x/blob/master/ tutorials/incompressible/simpleFoam/motorBike/system/controlDict#L47

I do have a vague memory of using a list having worked in older versions of OpenFOAM, but there was a revision made to this in OpenFOAM 4.0, if I remember correctly... so I'm guessing that you used OpenFOAM 3.0 or 2.3/2.4 on Linux?

[wyldckat edit: removed contact information]

haibianshifeng commented 6 years ago

You are right.

The format of swak4foam in controlDict file change like: functions { // ... }

The example can be run. However, the new error appears.

2018-05-28 19:03 GMT+08:00 刘磊 liuleigbd@gmail.com:

The version of OpenFoam is 2.4.0 and the version of Linux is 14.04.

I will try the example.

2018-05-28 18:59 GMT+08:00 Bruno Santos notifications@github.com:

It would be helpful to know which versions of swak4Foam and OpenFOAM you've used on Linux, in order to try and figure out if there is a bug on Linux as well or not.

But the problem is that functions is not meant to be a list like you have:

functions ( // ... );

But instead, it's meant to be a bracket block:

functions { // ... }

See for example this tutorial case on the official OpenFOAM 5.x repository: https://github.com/OpenFOAM/OpenFOAM-5.x/blob/master/tutoria ls/incompressible/simpleFoam/motorBike/system/controlDict#L47

I do have a vague memory of using a list having worked in older versions of OpenFOAM, but there was a revision made to this in OpenFOAM 4.0, if I remember correctly... so I'm guessing that you used OpenFOAM 3.0 or 2.3/2.4 on Linux?

[wyldckat edit: removed contact information]

wyldckat commented 6 years ago

New error?

haibianshifeng commented 6 years ago
/---------------------------------------------------------------------------\ =========
\ / F ield OpenFOAM: The Open Source CFD Toolbox
\ / O peration Version: 5.x
\ / A nd Web: www.OpenFOAM.org
\/ M anipulation
*---------------------------------------------------------------------------/ / Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\ Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com

*---------------------------------------------------------------------------*/ Build : 5.x-7ac8a133a3b0 Exec : interFoam -parallel Date : May 29 2018 Time : 00:27:21 Host : "DESKTOP-FAS0RM9" PID : 8224 I/O : uncollated Case : G:/NewTwoPhase/dar nProcs : 8 Slaves : 7 ( "DESKTOP-FAS0RM9.9092" "DESKTOP-FAS0RM9.20740" "DESKTOP-FAS0RM9.6672" "DESKTOP-FAS0RM9.16208" "DESKTOP-FAS0RM9.16268" "DESKTOP-FAS0RM9.13540" "DESKTOP-FAS0RM9.17800" )

Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations

//

Create mesh for time = 0

PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Selecting laminar stress model Stokes

Reading g

Reading hRef Calculating field g.h

No MRF models present

No finite volume options present

GAMG: Solving for pcorr, Initial residual = 1, Final residual = 8.80545e-006, No Iterations 58 GAMG: Solving for pcorr, Initial residual = 1.83306e-009, Final residual = 1.83306e-009, No Iterations 0 time step continuity errors : sum local = 4.06801e-009, global = 4.25132e-013, cumulative = 4.25132e-013 Courant Number mean: 0.58792 max: 13.014 --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "G:/NewTwoPhase/dar/system/controlDict.functions.createInletFace" from line 70 to line 82 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' [0] swak4Foam: Allocating new repository for sampledSurfaces --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "G:/NewTwoPhase/dar/system/controlDict.functions.createOutletFace" from line 89 to line 101 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiInletFace". Assuming 'no' swak4Foam: Setting default mesh --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiOutletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiWaterInletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiWaterOutletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiOilInletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.phiOilOutletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.pInletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.pOutletFace". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.alphaWaterAverageSelected". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.alphaOilAverageSelected". Assuming 'no' --> FOAM Warning : From function timelineFunctionObject::timelineFunctionObject in file timelineFunctionObject/timelineFunctionObject.C at line 88 No entry 'writeStartTime' in "G:/NewTwoPhase/dar/system/controlDict.functions.volSelected". Assuming 'no' --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "G:/NewTwoPhase/dar/system/controlDict.functions.inletSum" from line 357 to line 368 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' [1] swak4Foam: Allocating new repository for sampledSurfaces [4] swak4Foam: Allocating new repository for sampledSurfaces [5] swak4Foam: Allocating new repository for sampledSurfaces [7] swak4Foam: Allocating new repository for sampledSurfaces [1] [4] [7] [5] [2] swak4Foam: Allocating new repository for sampledSurfaces [6] swak4Foam: Allocating new repository for sampledSurfaces [0] [6] [2]

[1] [4] [7] [3] swak4Foam: Allocating new repository for sampledSurfaces [5] [3] [0] [6] [2]

[1] [4] [7] [5] [3] [0] [6] [2] --> FOAM FATAL ERROR: --> FOAM FATAL ERROR: --> FOAM FATAL ERROR: --> FOAM FATAL ERROR:

--> FOAM FATAL ERROR: --> FOAM FATAL ERROR: --> FOAM FATAL ERROR:

[3]

[1] [4] [7] [5] --> FOAM FATAL ERROR: [0] [6] [2] Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

[1] [4] [7] [5] [3] [0] [6] [2]

Unknown function type faceSource

Valid functions are :

121 ( CourantNo Lambda2 MachNo PecletNo Q XiReactionRate add addForeignMeshes addGlobalVariable blendingFactor calculateGlobalVariables clearExpressionField components correctThermo createSampledSet createSampledSurface div dumpSwakExpression dumpSwakGlobalVariable dynamicFunctionObjectListProxy enstrophy executeIfEnvironmentVariable executeIfExecutableFits executeIfFunctionObjectPresent executeIfObjectExists executeIfOpenFOAMVersionBiggerEqual executeIfParallelSerial executeIfPatch executeIfSetOrZone executeIfStartTime executeIfSwakExpression executeIfWriteTime expressionField fieldAverage fieldCoordinateSystemTransform fieldDistribution fieldMinMax fieldValueDelta flowType foreignMeshesFollowTime functionObjectListProxy grad histogram initPotentialFlow initSwakFunctionObject interfaceHeight listMeshData listRegisteredObjects loadCompressibleTurbulenceModel loadIncompressibleTurbulenceModel loadPsiThermoModel loadRhoThermoModel loadSLGThermoModel loadTopoSets mag magSqr manipulateCellSet manipulateFaceSet manipulateField manipulatePatchField manipulatePointSet nearWallFields panicDump patchAverage patchExpression patchExpressionDistribution patchFieldDistribution patchFieldFlow patchIntegrate patchMassFlow patchMassFlowAverage patchProbes pressure probes processorField provokeSignal psiReactionThermoMoleFractions randomise readAndUpdateFields readFields readGravitation recalcPhi recalcThermoHe regionSizeDistribution removeGlobalVariable rhoReactionThermoMoleFractions setDeltaTBySwakExpression setDeltaTByTimeline sets solveLaplacianPDE solveTransportPDE solverPerformanceToGlobalVariables streamFunction streamLine subtract surfaceFieldValue surfaceInterpolate surfaces swakExpression swakExpressionAverageDistribution swakExpressionDistribution timeDependentFvSolutionFvSchemes trackDictionary turbulenceFields volFieldValue volumeAverage volumeIntegrate volumeMinMax vorticity wallHeatFlux wallShearStress writeAdditionalFields writeAndEndFieldRange writeAndEndSwakExpression writeCellCentres writeCellVolumes writeFieldsOften writeIfFieldOutside writeIfSwakExpression writeOldTimesOnSignal yPlus )

[1] [4] [7] [5] [3] [0] [6] [2]

[1] [4] [7] [5] [3] [0] [6] [2] From function From function From function From function

From function
From function
From function

static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) [3] static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&)

From function

[1] [4] [7] [5] static Foam::autoPtr Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) [0] [6] [2] in file in file in file in file

in file
in file
in file

db/functionObjects/functionObject/functionObject.C db/functionObjects/functionObject/functionObject.C db/functionObjects/functionObject/functionObject.C db/functionObjects/functionObject/functionObject.C [3] db/functionObjects/functionObject/functionObject.C db/functionObjects/functionObject/functionObject.C db/functionObjects/functionObject/functionObject.C at line at line at line at line in file at line at line at line 100 100 100 100 db/functionObjects/functionObject/functionObject.C 100 100 100 . . . . at line . . .

100

[1] [4] [7] [5] . [0] [6] [2]

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting [1] [4] [7] [5] [3] [0] [6] [2]

FOAM parallel run exiting

[3]

job aborted: [ranks] message

[0] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 0

[1] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 1

[2] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 2

[3] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 3

[4] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 4

[5] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 5

[6] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 6

[7] application aborted aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 7

---- error analysis -----

[0-7] on DESKTOP-FAS0RM9 interFoam aborted the job. abort code 1

---- error analysis -----

2018-05-28 21:25 GMT+08:00 Bruno Santos notifications@github.com:

New error?

[wyldckat edit: removed contact information]

wyldckat commented 6 years ago

Now those error/warning messages are going to appear in either Windows or Linux. You will need to check swak4Foam's README file and OpenFOAM's release notes between 2.4.0 to 5.0:

As for the warnings:

  1. For the one below, see https://www.cfd-online.com/Forums/openfoam-pre-processing/189082-using-deprecated-outputcontrol.html

    --> FOAM Warning :
        From function void Foam::timeControl::read(const Foam::dictionary&)
        in file db/functionObjects/timeControl/timeControl.C at line 89
    
        Reading
    "G:/NewTwoPhase/dar/system/controlDict.functions.createOutletFace" from
    line 89 to line 101
    
        Using deprecated 'outputControl'
        Please use 'writeControl' with 'writeInterval'
  2. For the one below, look for writeStartTime in the README file of swak4Foam, indicated above:

    --> FOAM Warning :
        From function timelineFunctionObject::timelineFunctionObject
        in file timelineFunctionObject/timelineFunctionObject.C at line 88
    
        No entry 'writeStartTime' in
    "G:/NewTwoPhase/dar/system/controlDict.functions.phiInletFace". Assuming
    'no'
  3. For the one below, you need to check the new name for it, from this list: https://cpp.openfoam.org/v5/group__grpFieldFunctionObjects.html

    Unknown function type faceSource
wyldckat commented 6 years ago

I'll close this issue, since this is mostly all due to difficulties in upgrading to a more recent version of OpenFOAM+swak4Foam and not due to bugs.