|
[Sponsors] |
[solids4Foam] flexibleDamBreak, issue getting parallel solve to work |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Brandon Hayes
Join Date: Jun 2023
Posts: 4
Rep Power: 3 ![]() |
Hello everyone,
I am trying to use solids4Foam to solve a 2-phase, FSI problem and am using the flexibleDamBreak tutorial as a starting case. I will eventually need a full 3D solve and will need to be able to solve in parallel; however, I am having difficulties getting solids4Foam to run in parallel with the flexibleDamBreak tutorial. I modified the Allrun file to run in parallel by decomposing the mesh which works fine Code:
#!/bin/bash # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Source solids4Foam scripts source solids4FoamScripts.sh # Check case version is correct solids4Foam::convertCaseFormat . # Create meshes solids4Foam::runApplication -s solid blockMesh -region solid solids4Foam::runApplication -s fluid blockMesh -region fluid solids4Foam::runApplication -a renumberMesh -region fluid -overwrite solids4Foam::runApplication -a renumberMesh -region solid -overwrite # Set water volume fraction field (alpha) in the fluid cp 0/fluid/alpha1.org 0/fluid/alpha1 (cd 0/fluid && ln -s alpha1 alpha.water) solids4Foam::runApplication setFields -region fluid # Run Solver Parallel solids4Foam::runApplication -a decomposePar -region fluid solids4Foam::runApplication -a decomposePar -region solid solids4Foam::runParallel solids4Foam # Run solver Serial #solids4Foam::runApplication solids4Foam touch foam.foam Thanks, Brandon Last edited by bsh4263; June 2, 2023 at 20:38. |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 ![]() |
Have you solved this problem? I am being faced with the same issues LOL. Many thanks!
Zhi Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Brandon Hayes
Join Date: Jun 2023
Posts: 4
Rep Power: 3 ![]() |
Yes it seems to be an issue with using OpenFOAM-v2012. When I switch to OpenFOAM v9 (foundation .org version), I am able to get the parallel solver working with the flexibleDamBreak tutorial
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 ![]() |
Hi, Thanks for your reply!
I also tried to install with OpenFOAM v9, but faced with following issues: FOAM/z54cheng-9/platforms/linux64GccDPInt32Opt/lib -lblockCoupledSolids4FoamTools -lRBFMeshMotionSolver -lfiniteVolume -ldynamicFvMesh -ldynamicMesh -lmeshTools -ltopoChangerFvMesh -o /home/z54cheng/OpenFOAM/z54cheng-9/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so /cvmfs/soft.computecanada.ca/gentoo/2020/usr/x86_64-pc-linux-gnu/binutils-bin/2.33.1/ld.bfd: cannot find -lRBFMeshMotionSolver collect2: error: ld returned 1 exit status make: *** [/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/9/OpenFOAM-9/wmake/makefiles/general:181: /home/z54cheng/OpenFOAM/z54cheng-9/platforms/linux64GccDPInt32Opt/lib/libsolids4FoamModels.so] Error 1 The S4F_USE_GFORTRAN variable is not set: skipping abaqusUMATs To use abaqusUMATs, install gfortran and set the S4F_USE_GFORTRAN variable to 1 Do you have suggestions on this? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Brandon Hayes
Join Date: Jun 2023
Posts: 4
Rep Power: 3 ![]() |
I think that it might be that you need to install gfortran-7 for it to be compatible. However, what you are displaying looks like an issue with a part of the install; when the install finishes, can you still run the case files even with that error in building?
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Join Date: Jan 2018
Posts: 19
Rep Power: 8 ![]() |
Thanks!
It is because I used the solids4foam-V1, v2 works well on Openfoam9! Zhi |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleDYMFoam doesn't work in parallel | decibelle | OpenFOAM Running, Solving & CFD | 1 | July 11, 2017 03:44 |
simpleFoam in parallel issue | plucas | OpenFOAM Running, Solving & CFD | 3 | July 17, 2013 11:30 |
OpenFOAM 2.0.0. and 2.0.1 doesn't work in parallel mode | rv82 | OpenFOAM Running, Solving & CFD | 3 | October 3, 2011 10:47 |
Issue with running in parallel on multiple nodes | daveatstyacht | OpenFOAM | 7 | August 31, 2010 17:16 |
parallel issue: global face zone/patch ... | matteoL | OpenFOAM Running, Solving & CFD | 2 | June 16, 2010 06:22 |