CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interDyMFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2023, 06:09
Default interDyMFoam
  #1
Senior Member
 
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8
saeed jamshidi is on a distinguished road
Hi,
I wanna use adaptive mesh, so when I enter
Code:
mpi interDyMFoam
terminal shows an error:
Code:
myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D$ interDyMFoam

Command 'interDyMFoam' not found, but can be installed with:

sudo apt install openfoam

myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D$
I enter interFoam instead:
Code:
myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D$ mpirun interFoam
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2112                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch   : "LSB;label=32;scalar=64"
Exec   : interFoam
Date   : Sep 07 2023
Time   : 13:25:49
Host   : DESKTOP-TK3D7CI
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2112                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch   : "LSB;label=32;scalar=64"
Exec   : interFoam
Date   : Sep 07 2023
Time   : 13:25:49
Host   : DESKTOP-TK3D7CI
PID    : 11391
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2112                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch   : "LSB;label=32;scalar=64"
Exec   : interFoam
Date   : Sep 07 2023
Time   : 13:25:49
Host   : DESKTOP-TK3D7CI
PID    : 11393
PID    : 11390
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2112                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch   : "LSB;label=32;scalar=64"
Exec   : interFoam
Date   : Sep 07 2023
Time   : 13:25:49
Host   : DESKTOP-TK3D7CI
PID    : 11392
I/O    : uncollated
Case   : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 400

Selecting dynamicFvMesh dynamicRefineFvMesh
I/O    : uncollated
Case   : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 400

Selecting dynamicFvMesh dynamicRefineFvMesh
I/O    : uncollated
Case   : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 400

Selecting dynamicFvMesh dynamicRefineFvMesh
I/O    : uncollated
Case   : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 400

Selecting dynamicFvMesh dynamicRefineFvMesh
Detected 32 cells that are protected from refinement. Writing these to cellSet protectedCells.
Detected 32 cells that are protected from refinement. Writing these to cellSet protectedCells.
Detected 32 cells that are protected from refinement. Writing these to cellSet protectedCells.
--> FOAM Warning :
    From bool Foam::IOobject::readHeader(Foam::dictionary&, Foam::Istream&)
    in file db/IOobject/IOobjectReadHeader.C at line 116
    Reading "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D/constant/polyMesh/sets/protectedCells" at line 1
    First token could not be read or is not 'FoamFile'

Check header is of the form:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2112                                  |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    arch        "LSB;label=32;scalar=64";
    class       IOobject;
    location    "constant/polyMesh/sets";
    object      protectedCells;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Detected 32 cells that are protected from refinement. Writing these to cellSet protectedCells.

PIMPLE: Operating solver in PISO mode

Reading field p_rgh


PIMPLE: Operating solver in PISO mode

Reading field p_rgh


PIMPLE: Operating solver in PISO mode

Reading field p_rgh


PIMPLE: Operating solver in PISO mode

Reading field p_rgh



--> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
cannot find file "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D/400/p_rgh"

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

FOAM exiting



--> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
cannot find file "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D/400/p_rgh"

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

FOAM exiting



--> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
cannot find file "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D/400/p_rgh"

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

FOAM exiting



--> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
cannot find file "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder3D/400/p_rgh"

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

FOAM exiting

-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[17335,1],0]
  Exit code:    1
--------------------------------------------------------------------------
would you please tell me know what is the best approach?!
thank you
saeed jamshidi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
interDyMFoam with VOF + 6DOF instable pbalz OpenFOAM Running, Solving & CFD 11 October 9, 2020 05:19
Restart InterDymFoam simulation from latestTime Giovanni_Do OpenFOAM Running, Solving & CFD 2 April 11, 2019 05:22
Standard InterDyMFoam doesn't work after modifying interFoam nesca87 OpenFOAM Running, Solving & CFD 7 January 5, 2017 22:47
modifying interDyMFoam for floatingObject Elisabeth_ofoam OpenFOAM Programming & Development 7 June 11, 2014 08:42
error using interDyMFoam with kOmegaSST to simulate sloshing anmartin OpenFOAM Running, Solving & CFD 0 July 20, 2010 13:21


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