|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Davide D.
Join Date: Oct 2012
Location: Birmingham (UK)
Posts: 44
Rep Power: 15 ![]() |
Hi,
I need to implement a pressureGradient force for spray parcels. I want to simulate gas parcels into a liquid using sprayFoam. However, pressureGradient force needs a dictionary, and I have not been able to find an example of such a dictionary. Can anyone provide an example, please? Thanks |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 ![]() ![]() |
Voila!
![]() Code:
particleForces
{
gravity;
pressureGradient
{
U U;
};
}
|
|
|
|
|
|
|
|
|
#4 |
|
Member
Davide D.
Join Date: Oct 2012
Location: Birmingham (UK)
Posts: 44
Rep Power: 15 ![]() |
||
|
|
|
|
|
|
|
#5 | |
|
Senior Member
|
Quote:
Code:
--> FOAM FATAL ERROR:
request for volVectorField Uc from objectRegistry region0 failed
available objects of type volVectorField are
1(U.air)
From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/aut/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198.
FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ??:?
#3 Foam::PressureGradientForce<Foam::KinematicCloud<Foam::Cloud<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > >::cacheFields(bool) at ??:?
#4
at ??:?
#5
at ??:?
#6
at ??:?
#7
at ??:?
#8
at ??:?
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10
at ??:?
Aborted (core dumped)
Code:
--> FOAM FATAL IO ERROR:
keyword DUcDt is undefined in dictionary "/home/user/OpenFOAM/aut-2.3.0/run/tutorials/lagrangian/DPMFoam/testSaffman/constant/kinematicCloudProperties.solution.interpolationSchemes"
file: /home/user/OpenFOAM/aut-2.3.0/run/tutorials/lagrangian/DPMFoam/testSaffman/constant/kinematicCloudProperties.solution.interpolationSchemes from line 27 to line 29.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 437.
FOAM exiting
|
||
|
|
|
||
|
|
|
#6 | |
|
Senior Member
|
Quote:
Code:
interpolationSchemes
{
rho.air cell;
U.air cellPoint;
mu.air cell;
DUcDt cellPoint;
}
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| writing subDict in a dictionary | ubaid | OpenFOAM Programming & Development | 3 | October 25, 2014 18:17 |
| New Boundary Condition: Reading Dictionary Problem | Koga | OpenFOAM Programming & Development | 0 | November 26, 2012 06:01 |
| Reading from User Defined Dictionary File | brosemu | OpenFOAM Running, Solving & CFD | 2 | March 30, 2009 16:25 |
| Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
| FoamX error aachenBomb case | Ervin Adorean (Adorean) | OpenFOAM Pre-Processing | 13 | March 7, 2005 04:50 |