jaason |
June 2, 2014 16:43 |
mapFieldsIssueOpenFOAM230
Hi all,
I'm a Graduate student using openfoam for my research, I've been using openfoam220 for over a year and just switched to openfoam230.
the mapFields utilities has been revamped.
I am trying to map to a refined mesh but it has been giving me some serious issues in openfoam230
i first tried mapFields ../(directory) -consistent
which worked well with openfoam220.
The mapped fields produced were garbage and the sim crashed immediately.
I then did some digging online and found out that cellVolumeWeight option became standard in 230 so I tried
mapFields ../(directory) -consistent -mapMethod mapNearest
this gave me nicely mapped fields for p T and U but when I try to run the solver rhoCentralFoam I get this error almost instantly:
Code:
jmpearl@syzygy:~/OpenFOAM/threeDim/flat45deep80trunc/250kPaR1$ rhoCentralFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : rhoCentralFoam
Date : Jun 02 2014
Time : 16:14:37
Host : "syzygy"
PID : 6132
Case : /home/jmpearl/OpenFOAM/threeDim/flat45deep80trunc/250kPaR1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0.002
Reading thermophysical properties
Selecting thermodynamics package
{
type hePsiThermo;
mixture pureMixture;
transport polynomial;
thermo hPolynomial;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;
}
Reading field U
Creating turbulence model
Selecting turbulence model type laminar
fluxScheme: Kurganov
Starting time loop
Mean and max Courant Numbers = 2.788601e-05 0.0007670006
deltaT = 5.99988e-12
Time = 0.002000000006
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUz, Initial residual = 0, Final residual = 0, No Iterations 0
diagonalPCG: Solving for Ux, Initial residual = 3.507427e-08, Final residual = 5.697393e-11, No Iterations 1
diagonalPCG: Solving for Uy, Initial residual = 1.090408e-07, Final residual = 1.215486e-10, No Iterations 1
diagonalPCG: Solving for Uz, Initial residual = 7.464901e-08, Final residual = 1.793315e-11, No Iterations 1
diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::heThermo<Foam::psiThermo, Foam::pureMixture<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::perfectGas<Foam::specie>, 8>, Foam::sensibleInternalEnergy>, 8> > >::he(Foam::Field<double> const&, Foam::Field<double> const&, int) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#4 Foam::fixedEnergyFvPatchScalarField::updateCoeffs() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#5 Foam::fvPatchField<double>::evaluate(Foam::UPstream::commsTypes) in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
#6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::evaluate() in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
#7
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
Floating point exception (core dumped)
If i map the fields in an older version of openfoam transfer the file to another computer and then run the file on a newer version it works fine.
any suggestions ?
how does one successful map consistent fields in the new version openfoam230?
|