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

InterDyMFoam+simpleFunctionObject

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2015, 00:28
Default InterDyMFoam+simpleFunctionObject
  #1
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 115
Rep Power: 10
Elham is on a distinguished road
Hi,

I am simulating drop falling by interDyMFoam and since I need to read dop velocity I use swakExpression. I sed it in interFoam and that worked perfectly but now whenever I execute interDyMFoam an error apprears saying that

It seems that the method simpleFunctionObject::updateMesh is not properly implemented (neither in the class or any appropriate subclasses).
If you think that it should work anyway add the entry

ignore_unimplemented_simpleFunctionObject::updateM esh true;



the following is the whole errors:



Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicRefineFvMesh

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

Reading g
Calculating field g.h

No finite volume options present

GAMG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
Reading/calculating face velocity Uf

Courant Number mean: 0 max: 0

Starting time loop

swak4Foam: Setting default mesh
[13] swak4Foam: Allocating new repository for sampledSurfaces
[14] swak4Foam: Allocating new repository for sampledSurfaces
[3] swak4Foam: Allocating new repository for sampledSurfaces
[4] swak4Foam: Allocating new repository for sampledSurfaces
[5] swak4Foam: Allocating new repository for sampledSurfaces
[6] swak4Foam: Allocating new repository for sampledSurfaces
[8] swak4Foam: Allocating new repository for sampledSurfaces
[10] swak4Foam: Allocating new repository for sampledSurfaces
[11] swak4Foam: Allocating new repository for sampledSurfaces
[12] swak4Foam: Allocating new repository for sampledSurfaces
[15] swak4Foam: Allocating new repository for sampledSurfaces
[1] swak4Foam: Allocating new repository for sampledSurfaces
[2] swak4Foam: Allocating new repository for sampledSurfaces
[7] swak4Foam: Allocating new repository for sampledSurfaces
[9] swak4Foam: Allocating new repository for sampledSurfaces
[0] swak4Foam: Allocating new repository for sampledSurfaces
Interface Courant Number mean: 0 max: 0
Courant Number mean: 0 max: 0
deltaT = 0.001176471
Time = 0.001176471

Selected 158 cells for refinement out of 10000.
Refined from 10000 to 11106 cells.
[8]
[8]
[8] --> FOAM FATAL ERROR:
[8] Not implemented
[8]
[8] From function simpleFunctionObject::updateMesh
[8] in file helpers/switchableNotImplemented.C at line 85.
[8]
FOAM parallel run aborting
[8]
[13]
[13]
[13] --> FOAM FATAL ERROR:
[13] Not implemented
[13]
[13] From function simpleFunctionObject::updateMesh
[13] in file helpers/switchableNotImplemented.C at line 85.
[13]
FOAM parallel run aborting
[13]
[14]
[14]
[14] --> FOAM FATAL ERROR:
[14] Not implemented
[14]
[14] From function simpleFunctionObject::updateMesh
[14] in file helpers/switchableNotImplemented.C at line 85.
[14]
FOAM parallel run aborting
[14]
[3]
[3]
[3] --> FOAM FATAL ERROR:
[3] Not implemented
[3]
[3] From function simpleFunctionObject::updateMesh
[3] in file helpers/switchableNotImplemented.C at line 85.
[3]
FOAM parallel run aborting
[3]
[5]
[5]
[5] --> FOAM FATAL ERROR:
[5] Not implemented
[5]
[5] From function simpleFunctionObject::updateMesh
[5] in file helpers/switchableNotImplemented.C at line 85.
[5]
FOAM parallel run aborting
[5]
[6]
[6]
[6] --> FOAM FATAL ERROR:
[6] Not implemented
[6]
[6] From function simpleFunctionObject::updateMesh
[6] in file helpers/switchableNotImplemented.C at line 85.
[6]
FOAM parallel run aborting
[6]
[4]
[4]
[4] --> FOAM FATAL ERROR:
[4] Not implemented
[4]
[4] From function simpleFunctionObject::updateMesh
[4] in file helpers/switchableNotImplemented.C at line 85.
[4]
FOAM parallel run aborting
[4]
[7]
[7]
[7] --> FOAM FATAL ERROR:
[7] Not implemented
[7]
[7] From function simpleFunctionObject::updateMesh
[7] in file helpers/switchableNotImplemented.C at line 85.
[7]
FOAM parallel run aborting
[7]
[9]
[9]
[9] --> FOAM FATAL ERROR:
[9] Not implemented
[9]
[9] From function simpleFunctionObject::updateMesh
[9] in file helpers/switchableNotImplemented.C at line 85.
[9]
FOAM parallel run aborting
[9]
[10]
[10]
[10] --> FOAM FATAL ERROR:
[10] Not implemented
[10]
[10] From function simpleFunctionObject::updateMesh
[10] in file helpers/switchableNotImplemented.C at line 85.
[10]
FOAM parallel run aborting
[10]
[11]
[11]
[11] --> FOAM FATAL ERROR:
[11] Not implemented
[11]
[11] From function simpleFunctionObject::updateMesh
[11] in file helpers/switchableNotImplemented.C at line 85.
[11]
FOAM parallel run aborting
[11]
[12]
[12]
[12] --> FOAM FATAL ERROR:
[12] Not implemented
[12]
[12] From function simpleFunctionObject::updateMesh
[12] in file helpers/switchableNotImplemented.C at line 85.
[12]
FOAM parallel run aborting
[12]
[15]
[15]
[15] --> FOAM FATAL ERROR:
[15] Not implemented
[15]
[15] From function simpleFunctionObject::updateMesh
[15] in file helpers/switchableNotImplemented.C at line 85.
[15]
FOAM parallel run aborting
[15]


It seems that the method simpleFunctionObject::updateMesh is not properly implemented (neither in the class or any appropriate subclasses).
If you think that it should work anyway add the entry

ignore_unimplemented_simpleFunctionObject::updateM esh true;

[1]
[1]
[1] --> FOAM FATAL ERROR:
[1] Not implemented
[1]
[1] From function simpleFunctionObject::updateMesh
[1] in file helpers/switchableNotImplemented.C at line 85.
[1]
FOAM parallel run aborting
[1]
[2]
[2]
[2] --> FOAM FATAL ERROR:
[2] Not implemented
[2]
[2] From function simpleFunctionObject::updateMesh
[2] in file helpers/switchableNotImplemented.C at line 85.
[2]
FOAM parallel run aborting
[2]
to the dictionary "/home/elham/OpenFOAM/elham-2.3.0/run/droplet/interDyMFoam/drolpet3/system/controlDict.functions.downAverage" and we will go on. Alternativly properly implement the method.

Anyway: I'll go die now



--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

mpirun has exited due to process rank 3 with PID 15379 on
node elham-Precision-T7610 exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
[elham-Precision-T7610:15371] 14 more processes have sent help message help-mpi-api.txt / mpi-abort
[elham-Precision-T7610:15371] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

Thanks in advance for any help.
Elham is offline   Reply With Quote

Old   April 19, 2017, 08:42
Default
  #2
New Member
 
Big Orange
Join Date: Mar 2016
Posts: 8
Rep Power: 3
bigorange is on a distinguished road
Hi Elham,

I met the same problem as yours when using compressibleInterDyMFoam, have you found some solution to this problem?

Best regards!

Big Orange
bigorange is offline   Reply With Quote

Old   April 19, 2017, 09:23
Default
  #3
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 115
Rep Power: 10
Elham is on a distinguished road
Quote:
Originally Posted by bigorange View Post
Hi Elham,

I met the same problem as yours when using compressibleInterDyMFoam, have you found some solution to this problem?

Best regards!

Big Orange
As it is for long time ago I don't remember how I fix it. Do you run in parallel? Does the error is the same when you don't run in parallel?
Elham is offline   Reply With Quote

Old   April 19, 2017, 09:57
Smile
  #4
New Member
 
Big Orange
Join Date: Mar 2016
Posts: 8
Rep Power: 3
bigorange is on a distinguished road
Quote:
Originally Posted by Elham View Post
As it is for long time ago I don't remember how I fix it. Do you run in parallel? Does the error is the same when you don't run in parallel?
Hi Elham,

Thanks for your reply.

I didn't run compressibleInterDyMFoam in parallel.

In my point of view, the reason for this error is that simpleFunctionObject::updateMesh in swak4Foam doesn't suit to the adaptive mesh refinement solver.

Would you please give me some clue to resolve this problem?

The following is the content in the log file.

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicRefineFvMesh

PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Constructing twoPhaseMixtureThermo

Selecting thermodynamics package 
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectFluid;
    specie          specie;
    energy          sensibleInternalEnergy;
}

Selecting thermodynamics package 
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}

Reading thermophysical properties


Reading g

Reading hRef
Calculating field g.h

Selecting turbulence model type laminar
Creating field kinetic energy K

Reading/calculating face velocity Uf

Courant Number mean: 0 max: 0

Starting time loop

--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 118
    'outputControlMode' not found in patchP_rgh
Assuming: timeStep
--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 127
    'outputInterval' not found in patchP_rgh
Assuming: 1
--> FOAM Warning : 
    From function timelineFunctionObject::timelineFunctionObject
    in file timelineFunctionObject/timelineFunctionObject.C at line 88
    No entry 'writeStartTime' in "/home/jcwang/OpenFOAM/jcwang-4.1/run/dambreak/adaptiveMeshRefinment/workOnSwak/system/controlDict.functions.patchP_rgh". Assuming 'no'
--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 118
    'outputControlMode' not found in patchP
Assuming: timeStep
--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 127
    'outputInterval' not found in patchP
Assuming: 1
--> FOAM Warning : 
    From function timelineFunctionObject::timelineFunctionObject
    in file timelineFunctionObject/timelineFunctionObject.C at line 88
    No entry 'writeStartTime' in "/home/jcwang/OpenFOAM/jcwang-4.1/run/dambreak/adaptiveMeshRefinment/workOnSwak/system/controlDict.functions.patchP". Assuming 'no'
Courant Number mean: 0 max: 0
deltaT = 0.0011904762
Time = 0.00119047619

Selected 1920 cells for refinement out of 32256.
Refined from 32256 to 45696 cells.


It seems that the method simpleFunctionObject::updateMesh is not properly implemented (neither in the class or  any appropriate subclasses).
If you think that it should work anyway add the entry

ignore_unimplemented_simpleFunctionObject::updateMesh true;

to the dictionary "/home/jcwang/OpenFOAM/jcwang-4.1/run/dambreak/adaptiveMeshRefinment/workOnSwak/system/controlDict.functions.patchP_rgh" and we will go on. Alternativly properly implement the method.

Anyway: I'll go die now



--> FOAM FATAL ERROR: 
Not implemented

    From function simpleFunctionObject::updateMesh
    in file helpers/switchableNotImplemented.C at line 85.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::switchableNotImplemented(Foam::word const&, Foam::dictionary const&) at ??:?
#3  Foam::simpleFunctionObject::updateMesh(Foam::mapPolyMesh const&) at ??:?
#4  Foam::functionObjectList::updateMesh(Foam::mapPolyMesh const&) at ??:?
#5  Foam::polyMesh::updateMesh(Foam::mapPolyMesh const&) at ??:?
#6  Foam::fvMesh::updateMesh(Foam::mapPolyMesh const&) at ??:?
#7  Foam::dynamicRefineFvMesh::refine(Foam::List<long> const&) at ??:?
#8  Foam::dynamicRefineFvMesh::update() at ??:?
#9  ? at ??:?
#10  __libc_start_main at ??:?
#11  ? at ??:?
Best regards!

Big Orange
bigorange is offline   Reply With Quote

Old   June 5, 2017, 02:07
Default
  #5
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 115
Rep Power: 10
Elham is on a distinguished road
Sorry for the late reply.

You may find the solution in Swak4FOAM 0.2.3 / OF2.2.x installation error
Then you need to recompile it. I myself still struggling with it.

Regards,

Elham
Elham is offline   Reply With Quote

Old   July 10, 2017, 11:59
Default
  #6
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 115
Rep Power: 10
Elham is on a distinguished road
Although it the question is for long time ago but for future reference this would be really helpful:

https://sourceforge.net/p/openfoam-e...b19a37/#diff-4
Elham is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 9 May 15, 2016 23:36
modifying interDyMFoam for floatingObject Elisabeth_ofoam OpenFOAM Programming & Development 7 June 11, 2014 08:42
interDyMFoam with GGI in 3d stawrogin OpenFOAM Running, Solving & CFD 2 January 5, 2011 03:17
error using interDyMFoam with kOmegaSST to simulate sloshing anmartin OpenFOAM Running, Solving & CFD 0 July 20, 2010 13:21
InterDyMFoam with GGI sebastianweiper OpenFOAM Running, Solving & CFD 2 September 18, 2009 03:43


All times are GMT -4. The time now is 10:26.