|
[Sponsors] |
May 9, 2019, 10:14 |
Lagrangian Solvers: Parcel Injection Error
|
#1 |
New Member
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 26
Rep Power: 11 |
Hey everyone!
I edited the splashPanel tutorial in the reactingParcelFoam solver to include a cone nozzle injection. The error I face (and have also faced with other langragian solvers like MPPICFoam) is that most parcel starting positions in the domain throw in the following Code:
Solving 3-D cloud reactingCloud1 --> FOAM FATAL ERROR: Cannot find parcel injection cell. Parcel position = (0.0021 0.006343463813 -0.001374402857) From function bool Foam::InjectionModel<CloudType>::findCellAtPosition(Foam::label&, Foam::label&, Foam::la bel&, Foam::vector&, bool) [with CloudType = Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Fo am::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > >; Foam::label = int; Foam: :vector = Foam::Vector<double>] in file lnInclude/InjectionModel.C at line 169. FOAM exiting I tried tweaking values left, right and centre. Such tweaking helped me for a previous test set up, where one of those tweaks didn't generate an error. But a lot of time has been devoted to something where I could be making an obvious mistake. Code:
scale 0.1; vertices ( //back ( 0 0 0) ( 1 0 0) ( 0 0.5 0) ( 1 0.5 0) // front ( 0 0 1) ( 1 0 1) ( 0 0.5 1) ( 1 0.5 1) ); |
|
May 12, 2019, 17:45 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: The position of the particle being injected was planned to be placed outside of the mesh, just right below Z=0.
You need to properly understand how the cone is defined, because it apparently it has a too wide radius at the base of the cone, which results in getting outside of the geometry.
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |