CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

OFv1606+ - Error in running the channel395DFSEM tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 15, 2017, 05:41
Default OFv1606+ - Error in running the channel395DFSEM tutorial
  #1
Member
 
Robert Ong
Join Date: Aug 2010
Posts: 68
Rep Power: 8
rob3rt 0ng is on a distinguished road
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
Has anyone encountered this problem before?

I'm guessing that it has something to do with the installation.

Thanks and regards,
Robert
Attached Files
File Type: txt logMake.txt (152.5 KB, 2 views)
File Type: pdf bashrc.pdf (31.8 KB, 1 views)
File Type: gz dynamicCode.tar.gz (166.2 KB, 2 views)

Last edited by wyldckat; May 27, 2017 at 07:36. Reason: Changed [PHP] to [CODE] and repaired line breaks in said code
rob3rt 0ng is offline   Reply With Quote

Old   May 19, 2017, 20:40
Default
  #2
Member
 
Robert Ong
Join Date: Aug 2010
Posts: 68
Rep Power: 8
rob3rt 0ng is on a distinguished road
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 [OpenFOAM plus] [v1606+] Compiling/installing problems and edited to remove the duplicate content]
Attached Files
File Type: txt logMake.txt (152.5 KB, 0 views)
File Type: gz dynamicCode.tar.gz (166.2 KB, 0 views)

Last edited by wyldckat; May 27, 2017 at 06:26. Reason: see "Moderator note:"
rob3rt 0ng is offline   Reply With Quote

Old   May 27, 2017, 09:10
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,931
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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.
__________________
wyldckat is offline   Reply With Quote

Old   May 27, 2017, 10:10
Default
  #4
Member
 
Robert Ong
Join Date: Aug 2010
Posts: 68
Rep Power: 8
rob3rt 0ng is on a distinguished road
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
rob3rt 0ng is offline   Reply With Quote

Old   May 27, 2017, 11:00
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,931
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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.
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in running tutorial cases preetham OpenFOAM Installation 2 June 13, 2009 16:36
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Compilation Error when running Tutorial 2.4 zhihuali CD-adapco 7 April 1, 2008 07: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 CD-adapco 0 August 30, 2004 15:43


All times are GMT -4. The time now is 23:47.