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

Attempt to run rhoPisoTwinParcelFoam on micro scale

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By jabecker

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2011, 11:44
Default Attempt to run rhoPisoTwinParcelFoam on micro scale
  #1
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
jabecker is on a distinguished road
Hey Foamers,

I am in serious help. I am working in rhoPisoTwinParcelFoam (OF 1.7.0) and I got the tutorial up and running great. I started implementing my own case by making small changes one at a time, to ensure that it would compile after every change. First, I made the changes to the mesh shape (using the same dimensions, just turned into a cube). Second, I turned it into a laminar flow. Third, I turned off the thermoCloud1Properties (as I only have one type of parcel) and can change around the cloud positions in kinematicCloud1Positions. But, as soon as I try to make it on a micro scale, which is what I need for my case, I get the following error:

--> FOAM FATAL ERROR:
Cannot find parcel injection cell. Parcel position = (5e-06 5e-06 0)

From function Foam::InjectionModel<CloudType>::findCellAtPositio n(label&, vector&)
in file lnInclude/InjectionModel.C at line 176.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::InjectionModel<Foam::KinematicCloud<Foam::ba sicKinematicParcel> >::findCellAtPosition(int&, Foam::Vector<double>&) in "/opt/openfoam170/lib/linux64GccDPOpt/liblagrangianIntermediate.so"
#3
in "/home/becker/OpenFOAM/becker-1.7.0/applications/bin/linux64GccDPOpt/rhoPisoTwinParcelFoam"
#4
in "/home/becker/OpenFOAM/becker-1.7.0/applications/bin/linux64GccDPOpt/rhoPisoTwinParcelFoam"
#5
in "/home/becker/OpenFOAM/becker-1.7.0/applications/bin/linux64GccDPOpt/rhoPisoTwinParcelFoam"
#6
in "/home/becker/OpenFOAM/becker-1.7.0/applications/bin/linux64GccDPOpt/rhoPisoTwinParcelFoam"
#7 __libc_start_main in "/lib/libc.so.6"
#8
in "/home/becker/OpenFOAM/becker-1.7.0/applications/bin/linux64GccDPOpt/rhoPisoTwinParcelFoam"
Aborted

I am really confused by this because the parcel injection cell is never specified. It had worked perfectly fine before I changed the convertToMeters in the blockMeshDict from 1 to 0.000001 and the corresponding positions in kinematicCloud1Positions from 0.25 to 0.25e-5. When it says "Parcel position = (5e-06 5e-06 0)" it is just stating the first point from the kinematicCloud1Positions file. Does anyone have any idea how to get rid of this error? Any help would be greatly appreciated.

Thanks in advance,
Jen
jabecker is offline   Reply With Quote

Old   June 9, 2011, 09:35
Default
  #2
New Member
 
Join Date: Apr 2011
Posts: 10
Rep Power: 15
jabecker is on a distinguished road
Hey Everyone,

I just wanted to update you all with a solution (because I know how frustrating it is to look at a post and never find an answer or response). From my understanding, when you receive this error OpenFOAM does not recognize the stated injection parcel point. In my case, the parcel position was directly on the boundary and as long as I changed to be slight inside the boundary then the error went away.

So I started with the position (5e-06 5e-06 0) and all I did was change it to (4.99999e-06 4.99999e-06 0) and the error went away.

I hope this follow up helps at least one person in the future, as something similar sure would have saved me a lot of time and error.

Enjoy,
Jen
ronithstanly and sourav90 like this.
jabecker is offline   Reply With Quote

Old   August 16, 2013, 00:55
Default
  #3
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14
mayank.dce2k7 is on a distinguished road
Thanks, it helped me.
mayank.dce2k7 is offline   Reply With Quote

Old   April 13, 2021, 09:52
Default
  #4
Member
 
Sourav Mandal
Join Date: Jul 2019
Posts: 55
Rep Power: 7
sourav90 is on a distinguished road
Quote:
Originally Posted by jabecker View Post
Hey Everyone,

I just wanted to update you all with a solution (because I know how frustrating it is to look at a post and never find an answer or response). From my understanding, when you receive this error OpenFOAM does not recognize the stated injection parcel point. In my case, the parcel position was directly on the boundary and as long as I changed to be slight inside the boundary then the error went away.

So I started with the position (5e-06 5e-06 0) and all I did was change it to (4.99999e-06 4.99999e-06 0) and the error went away.

I hope this follow up helps at least one person in the future, as something similar sure would have saved me a lot of time and error.

Enjoy,
Jen

Sure. Good job posting the solution. I fixed a similar issue with your idea
sourav90 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
Error trying to run steady-state sonicFoam dancfd OpenFOAM Running, Solving & CFD 2 February 12, 2013 04:15
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 13:48
Fluent with Micro and Nano scale haihek FLUENT 0 June 8, 2010 15:15
micro scale centrifugal separator devalpandya ANSYS 0 February 3, 2010 01:29
micro scale centrifugal separator devalpandya FLUENT 0 February 3, 2010 01:08


All times are GMT -4. The time now is 14:01.