|
[Sponsors] |
error adding void fraction into the solver & Error when chemistry is on |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 14, 2016, 07:02 |
chpjz0391
|
#21 |
New Member
César Augusto Corrêa Miguéis
Join Date: Nov 2013
Location: Rio de Janeiro, Brasil
Posts: 26
Rep Power: 12 |
Hi, chpjz0391!
The addition of the collisionCloud into the coalChemistry Foam was accomplished! You can analize the code in the reply that I've sent in december, 28, in this thread! About the alphac, it's only required when your have a dense particulate flow - the magical number (I don't know how it was determined) is about 10 or 12% (or greater) of particle fraction (volumetric) into your domain. I mean: Vparticles/Vcell >= 0,12. I hope this was helpful! Regards from Brazil!
__________________
César Miguéis Mechanical Engineer MSc. Student at COPPE/UFRJ |
|
June 14, 2016, 22:22 |
|
#22 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
Thanks for your reply. I modified the lib and compiled it successfully. However, when I complied my solver I got the following error. Code:
5): undefined reference to `Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > >::debug'/home/ping/OpenFOAM/root-3.0.1/platforms/linux64GccDPInt32Opt/lib/libmycollision.so: undefined reference to `Foam::WallModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'/home/ping/OpenFOAM/root-3.0.1/platforms/linux64GccDPInt32Opt/lib/libmycollision.so: undefined reference to `Foam::PairModel<Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > > > > > >::dictionaryConstructorTablePtr_'collect2: error: ld returned 1 exit status makeBasicReactingMultiphaseParcelSubmodels.C Code:
"ttypedef basicReactingMultiphaseCloud::collidingCloudType collidingParcelType; makeParcelCollisionModels(collidingParcelType); " Code:
typedef Foam::ThermoParcel<CollidingParcel<KinematicParcel<particle> > > thermoParcel; typedef Foam::ReactingParcel<ThermoParcel<CollidingParcel<KinematicParcel<particle> > > > reactingParcel; defineTemplateTypeNameAndDebug(thermoParcel, 0); defineTemplateTypeNameAndDebug(reactingParcel, 0); Do you have any suggestion? I am using OpenFOAM 3.0.1 . Is the version problem? The attachment is my code. Kind Regards, Ping mycollision.zip |
||
August 14, 2016, 14:51 |
|
#23 |
Member
amin jalalian
Join Date: Mar 2014
Posts: 34
Rep Power: 12 |
Hi,
I think you must write "- alpha*rho.dimensionedInternalField()*g == " |
|
August 14, 2016, 14:53 |
|
#24 | |
Member
amin jalalian
Join Date: Mar 2014
Posts: 34
Rep Power: 12 |
Quote:
Hi, I think you must write "- alpha*rho.dimensionedInternalField()*g == " in UEqn.H |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet | sahar_rf | OpenFOAM Post-Processing | 0 | August 20, 2014 12:13 |
void fraction | talib | Main CFD Forum | 0 | March 1, 2012 15:25 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |
OpenFoam 14 installation problem | gfcoppola | OpenFOAM Installation | 20 | November 2, 2007 13:38 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |