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

Setting origProcID by using a solidParticleInterFoam-solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2021, 07:15
Default Setting origProcID by using a solidParticleInterFoam-solver
  #1
New Member
 
Sarah Falk
Join Date: Dec 2019
Posts: 7
Rep Power: 6
sarah37 is on a distinguished road
Hi everyone,

I try to implement a solidParticleInterFoam-Solver by using this tutorial: http://www.tfd.chalmers.se/~hani/kur...iclesInVOF.pdf .
Now I want to simulate the (solid)damBreak as it is described in the tutorial, but I'm getting the following error-message and don't know how to fix the problem:


--> FOAM FATAL ERROR:
Size of origProcId field 0 does not match the number of particles 2

From function void Foam::Cloud<ParticleType>::checkFieldIOobject(cons t Foam::Cloud<ParticleType>&, const Foam::IOField<DataType>&) const [with DataType = int; ParticleType = Foam::solidParticle]
in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/lagrangian/basic/lnInclude/CloudIO.C at line 191.

FOAM aborting

My "origProcID"-File looks like that:
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class labelField;
location "0/lagrangian/defaultCloud";
object origProcID;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

2(0)


// ************************************************** *********************** //

I have noticed, that the error-message doens't change, when I write an other number instead of 0. I also tried two numbers or other brackets. So I think, that origProcID-field is not setting correctly, but I have no idea, how I can checkt or change it.


Have one of you any idea how I can fix my problem? I am thankfull for any kind of help!
sarah37 is offline   Reply With Quote

Reply

Tags
origprocid, solidparticlecloud, solidparticlefoam


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
fluent solver setting for external aerodynamics on a race car. Ahmed Jamal FLUENT 5 March 26, 2016 03:13
Interfoam blows on parallel run danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 02:09
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 13:59.