CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Foam warning error (https://www.cfd-online.com/Forums/openfoam-solving/251315-foam-warning-error.html)

RM1992 August 9, 2023 04:57

Foam warning error
 
:confused:

I had tried alot to run the tutorials of dsmcfoam using already available case but everytime error pops out when i run the command dsmcFoam.

blockMesh and dsmcInitialise command runs properly but following error pops out while running "dsmcFoam".

kindly tell what is the reason behind that.


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Constructing dsmcCloud


--> FOAM FATAL ERROR: (openfoam-2306)
cannot find file "C:/Users/Rashid/AppData/Roaming/ESI-OpenCFD/OpenFOAM/v2306/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2306/tutorials_copy/discretemethods/dsmcfoam/freeSpacePeriodic/0/q"

From virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 627.

FOAM exiting

Yann August 9, 2023 05:52

Hello,

The solver complains about a missing file for the q variable in the 0 directory:
Code:

--> FOAM FATAL ERROR: (openfoam-2306)
cannot find file "C:/Users/Rashid/AppData/Roaming/ESI-OpenCFD/OpenFOAM/v2306/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2306/tutorials_copy/discretemethods/dsmcfoam/freeSpacePeriodic/0/q"

Make sure you have a q file with proper initialization and boundary conditions.
I never used dsmcFoam so I have no idea what is the q variable but you can check dsmcFoam tutorials.

Regards,
Yann


All times are GMT -4. The time now is 06:07.