Werne |
December 9, 2014 06:26 |
Problems with mapFields
Hello,
I have a problem with my current simulation. I'm currently working on my thesis and I'm simulating the flow in a narrow gap.
Because my mesh is rather large I started by simulating on a coarse mesh. Now that I have some reasonable results with this coarse mesh I wanted to map the results on my fine mesh. Geometry and boundary conditions are identical.
At first I wasn't able to run mapFields for some reason. I only got this error:
Code:
werne@HAL8:/TEST_compressible_90_12_grob > mapFields ../TEST_compressible_90_12_grob_testfall/
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.2-9739c53ec43f
Exec : mapFields ../TEST_compressible_90_12_grob_testfall/
Date : Dec 09 2014
Time : 09:57:09
Host : "HAL8"
PID : 2517
Case : /home/****/werne/OpenFOAM/werne-2.2.2/run/Tests/TEST_compressible_90_12_grob
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
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Source: "../TEST_compressible_90_12_grob_testfall" ""
Target: "/home/****/werne/OpenFOAM/werne-2.2.2/run/Tests" "TEST_compressible_90_12_grob"
Create databases as time
Source time: 0.0076
Target time: 0.0076
Create meshes
Source mesh size: 3355290 Target mesh size: 6298122
Mapping fields for time 0.0076
interpolating alphat
AMI: Creating addressing and weights between 45616 source faces and 45616 target faces
AMI: Patch source weights min/max/average = 0.9998914285, 1.000007218, 0.9999999413
AMI: Patch target weights min/max/average = 0.9997461169, 1.000014179, 0.9999999185
AMI: Creating addressing and weights between 25277 source faces and 25277 target faces
AMI: Patch source weights min/max/average = 0.9999990007, 1.000002493, 0.9999999489
AMI: Patch target weights min/max/average = 0.9999974194, 1.000003056, 0.9999999462
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 in "/lib64/libc.so.6"
#3
at ??:?
#4
at ??:?
#5
at ??:?
#6
at ??:?
#7
at ??:?
#8
at ??:?
#9 __libc_start_main in "/lib64/libc.so.6"
#10
at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
Speicherschutzverletzung
Exitcode 139
I was able to solve this problem by switching to an older version of OpenFOAM (from OF2.2.2 to OF2.2.x).
Now, I am able to map the results from the coarse to the fine mesh. There are no errors, and if I check the results with paraview, they seem reasonable. However, I'm not able to start the simulation with the mapped fields.
The simulation always stops with the following error:
Code:
werne@HAL9:/TEST_compressible_90_12_grob > rhoPimpleFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.2 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.2-9739c53ec43f
Exec : rhoPimpleFoam
Date : Dec 09 2014
Time : 11:29:45
Host : "HAL9"
PID : 3796
Case : /home/*******/werne/OpenFOAM/werne-2.2.2/run/Tests/TEST_compressible_90_12_grob
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.0076
PIMPLE: Operating solver in PISO mode
Reading thermophysical properties
Selecting thermodynamics package
{
type hePsiThermo;
mixture pureMixture;
transport const;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}
AMI: Creating addressing and weights between 45616 source faces and 45616 target faces
AMI: Patch source weights min/max/average = 0.9998914285, 1.000007218, 0.9999999413
AMI: Patch target weights min/max/average = 0.9997461169, 1.000014179, 0.9999999185
AMI: Creating addressing and weights between 25277 source faces and 25277 target faces
AMI: Patch source weights min/max/average = 0.9999990007, 1.000002493, 0.9999999489
AMI: Patch target weights min/max/average = 0.9999974194, 1.000003056, 0.9999999462
Reading field U
Reading/calculating face flux field phi
Creating turbulence model
Selecting turbulence model type RASModel
Selecting RAS turbulence model kOmegaSST
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib64/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#6 Foam::compressible::RASModels::kOmegaSST::F2() const at ??:?
#7 Foam::compressible::RASModels::kOmegaSST::F23() const at ??:?
#8 Foam::compressible::RASModels::kOmegaSST::kOmegaSST(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::fluidThermo const&, Foam::word const&, Foam::word const&) at ??:?
#9 Foam::compressible::RASModel::adddictionaryConstructorToTable<Foam::compressible::RASModels::kOmegaSST>::New(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::fluidThermo const&, Foam::word const&) at ??:?
#10 Foam::compressible::RASModel::New(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::fluidThermo const&, Foam::word const&) at ??:?
#11 Foam::compressible::turbulenceModel::addturbulenceModelConstructorToTable<Foam::compressible::RASModel>::NewturbulenceModel(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::fluidThermo const&, Foam::word const&) at ??:?
#12 Foam::compressible::turbulenceModel::New(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::fluidThermo const&, Foam::word const&) at ??:?
#13
at ??:?
#14 __libc_start_main in "/lib64/libc.so.6"
#15
at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
Fließkommafehler
Exitcode 136
What does this error mean? Is it possible that it is caused by using a different version of OpenFOAM for mapping and for solving?
|