CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[ImmersedBoundary] ParaFoam crashes ONLY for immersed boundary solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2018, 11:35
Default ParaFoam crashes ONLY for immersed boundary solver
  #1
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello foam users,

I have a working foam-extend-4.0 case which had proved itself on my laptop before I formatted it. The case basically consists of 2D snappyHexMesh + icoDyMIbFoam solver.

Now I can run those simulation without any hassle as I did before. ParaFoam works but can't show time steps. When I click PLAY button, ParaView crashes with code below:

Code:
emre@toshiba:~/foam/foam-extend-4.0/tutorials/immersedBoundary/movingCylinderInChannelIco$ paraFoam 
created temporary 'movingCylinderInChannelIco.OpenFOAM'
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/liblduSolvers.so: undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE

--> FOAM FATAL IO ERROR: 

    size of field refValue (96) is not the same size as the patch (0)
    on patch ibCylinder of field U in file "/home/emre/foam/foam-extend-4.0/tutorials/immersedBoundary/movingCylinderInChannelIco/0.2/U"

file: /home/emre/foam/foam-extend-4.0/tutorials/immersedBoundary/movingCylinderInChannelIco/0.2/U::boundaryField::ibCylinder from line 1905 to line 2011.

    From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch&, const Field<Type>&, const dictionary&)
I'm considering to rebuild AllMakeStage4. Is there something I can do to view all time steps without crashing?

Beside that I tested my foam-extend-4.0 configuration by trying to run tutorials. I can run simpleFoam, icoFoam etc. I realized that only icoDyMIbFOam and immersed boundary methods crash. It is weird.

Regards,

Emre
ordinary is offline   Reply With Quote

Old   December 18, 2018, 09:59
Default
  #2
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello,

I have similar problem which I have already posted here: [Moderator note: moved the two posts to the same thread.]

ParaFoam opens with these warnings:
Code:
emre@toshiba:~/FOAM_RUN/2dPlateT055_300$ paraFoam 
created temporary '2dPlateT055_300.OpenFOAM'
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load /home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/liblduSolvers.so: undefined symbol: _ZTIN4Foam5token8compoundE
I thought it's a ParaView error. Thus, I tried to re-install it with these commands:
Quote:
./AllClean.stage4
./AllMake.stage4
But it didn't solve the problem. Then I focused that part:
Code:
libdynamicMesh.so: undefined symbol: _ZTIN4Foam5token8compoundE
I checked source file but changing .OpenFoam to .foam seems had already been done in the code. Because I use foam-extend-4.0 on Ubuntu 18.04.1 LTS.

Is there any idea to solve this issue?


EDIT: I can run time steps of my simulation with latest ParaView 5.4.1. It can open the file with .OpenFOAM extension. However I need to create an .OpenFOAM file by typing old paraFoam (problematic).


Best regards,

Emre

Last edited by wyldckat; December 19, 2018 at 18:33. Reason: "EDIT:" by original forum member | moderator node added by moderator
ordinary is offline   Reply With Quote

Old   December 19, 2018, 18:39
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
  1. Run the command foamToVTK
  2. Run the command paraview
  3. From within ParaView, open the group file "VTK/movingCylinderInChannelIco_..vtk"
  4. The group file "VTK/ibCylinder_..stl" has a different time scale, so it might be harder to see it when the other group is open
This is because the internal reader ".foam" is broken for this feature and I don't know the status of the ".OpenFOAM" reader that foam-extend 4.0 provides.
mostanad likes this.
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
foam extend 4.0, parafoam, paraview, ubuntu 18.04


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Velocity vector in impeller passage ngoc_tran_bao CFX 24 May 3, 2016 21:16
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Radiation interface hinca CFX 15 January 26, 2014 17:11
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 01:54


All times are GMT -4. The time now is 07:44.