|
[Sponsors] |
OFv1606+ - Error in running the channel395DFSEM tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2017, 06:41 |
OFv1606+ - Error in running the channel395DFSEM tutorial
|
#1 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Hi,
I already have the version 2.4.x on my laptop, and I've successfully compiled the OFv1606+ (without the 64-bit integer bit version) as shown in the attached logMake file. I also attached my .bashrc file. Upon executing Allrun command for channel395DFSEM tutorial, a dynamicCode folder pops up therein contains four sub-folders of codeStreamTemplate.C and a folder of platforms/linux64GccDPInt32Opt/lib/libcodeStream_xxxxx. Please see attached. And when I run reconstructPar -latestTime, I have got this error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : v1606+Exec : reconstructPar -latest TimeDate : May 15 2017 Time : 19:03:27 Host : "roberto-Precision-M6700" PID : 7903 Case : /home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create timeReconstructing fields for mesh region0 Time = 12.1 Reconstructing FV fields Reconstructing volScalarFields nut k_0 pMean p pPrime2Mean k Q1 yPlus Reconstructing volVectorFields vorticity1 U_0 Turbulent DFSEM patch inlet: interpolating field R from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor0/../constant/boundaryData/inlet/0" Turbulent DFSEM patch inlet: interpolating field L from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor0/../constant/boundaryData/inlet/0" Turbulent DFSEM patch inlet: interpolating field U from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor0/../constant/boundaryData/inlet/0" Turbulent DFSEM patch inlet: interpolating field R from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor1/../constant/boundaryData/inlet/0" Turbulent DFSEM patch inlet: interpolating field L from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor1/../constant/boundaryData/inlet/0" Turbulent DFSEM patch inlet: interpolating field U from "/home/robert/OpenFOAM/roberto/tutorial-v1606+/channel395DFSEM/processor1/../constant/boundaryData/inlet/0" #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::turbulentDFSEMInletFvPatchVectorField::turbulentDFSEMInletFvPatchVectorField(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #4 Foam::fvPatchField<Foam::Vector<double> >::adddictionaryConstructorToTable<Foam::turbulentDFSEMInletFvPatchVectorField>::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #5 Foam::fvPatchField<Foam::Vector<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #6 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::readField(Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #7 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) at ??:? #8 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readFields() at ??:? #9 ? at reconstructPar.C:? #10 ? at ??:? #11 ? at ??:? #12 ? at ??:? #13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #14 ? at ??:?Floating point exception I'm guessing that it has something to do with the installation. Thanks and regards, Robert Last edited by wyldckat; May 27, 2017 at 08:36. Reason: Changed [PHP] to [CODE] and repaired line breaks in said code |
|
May 19, 2017, 21:40 |
|
#2 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Please see attached is the self-generated dynamicCode folder.
The simulation runs okay. But when trying to reconstruct I get an error basically saying Floating Point Exception due to the scalar and vector operations done by the turbulentInletDFSEMFvField. Can anyone help with this since maybe this is a pretty common issue for people who installed multiple FOAM versions. Thanks and regards Robert [Moderator note: Moved from https://www.cfd-online.com/Forums/op...roblems-2.html and edited to remove the duplicate content] Last edited by wyldckat; May 27, 2017 at 07:26. Reason: see "Moderator note:" |
|
May 27, 2017, 10:10 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I've tested this now and this is already fixed in OpenFOAM+ v1612+. You will need to upgrade to v1612+ if you really want this feature.
In addition, you cannot use the case simulated with v1606+ and reconstruct it with v1612+, at least it didn't work for me.
__________________
|
|
May 27, 2017, 11:10 |
|
#4 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Thanks for the reply, Bruno.
I've just got the OF v1606+ version compiled on the HPC today (but havent been able to test anything yet). So are you saying that the turbulentInletDFSEM BC can't be used in v1606+ regardless the machine architecture? Regards, Robert |
|
May 27, 2017, 12:00 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: From what I can figure out, the only problem is related to a limitation regarding reconstruction of the fields for the parallel case. In other words, you can still run the cases with v1606+, but you won't be able to reconstruct the results with reconstructPar. You can only do reconstruction with version v1612+.
The architecture issue that there was with 32 and 64-bit labels has nothing to do with this issue. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in running tutorial cases | preetham | OpenFOAM Installation | 2 | June 13, 2009 17:36 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
Compilation Error when running Tutorial 2.4 | zhihuali | Siemens | 7 | April 1, 2008 08:34 |
Running Tutorial Eulerian Granular Heat file | Femi | FLUENT | 0 | March 8, 2007 13:01 |
Tutorial is not running on star-CD version 3.2 | Arnab | Siemens | 0 | August 30, 2004 16:43 |