Ksl field mapping problem in cfdemSolverPiso

Submitted by saad2311 on Tue, 07/23/2019 - 13:59

Hey everyone !

Initially I ran a pisoFOAM (incompressible, laminar) till 250 iterations and then using mapFields, I mapped the inlet boundary conditions onto my new mesh. Although during mapping the MapFields maps only P,U and U_0.

The CFDEM (v3.8.0-3-gb237264) tutorial I took as reference is "/cfdemSolverPiso/settlingTestMPI".

The problem is cfdemSolverPiso is searching for the "ksl" dictionary which should be in the "processorX" folders. Since my first sim didnt have Ksl so it is not mapped on the meshes . How can I resolve the problem ? I have tried copy-pasting the ksl dictionary in all the "processorX" folders but it doesnt make any sense. Am I mapping the wrong fields ?

P.S. When i perform the same using only pisoFOAM without any coupling it works fine.

During runtime of the simulation it shows me the following error:

PISO: Operating solver in PISO mode

Reading field p

Reading physical velocity field U
Note: only if voidfraction at boundary is 1, U is superficial velocity!!!

[1]
[1]
[1] --> FOAM FATAL ERROR:
[1] cannot find file "/home/sultan/CFDEM/CFDEMcoupling-PUBLIC-5.x/sim_run_CFDEM/131_FinalSims_Domain470Final_Smuts_Map/CFD/processor1/250/Ksl"
[1]
[1] From function virtual Foam::autoPtr Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
[1] in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 505.
[1]
FOAM parallel run exiting
[1]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 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.
--------------------------------------------------------------------------