|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4 ![]() |
Hi everyone,
Now, I am doing FSI simulation using openfoam and calculix. And I want to use RBFMeshMotionSolver in solids4foam to deal with the large mesh deformation. I test it with pimpleFoam successfully. But it failed when I conducted a wave-structure case using interfoam with RBF. So I'd like to know whether interFoam can support RBFMeshMotionSolver. If not, could you give me some ideas about how to ingrate RBFMeshMotionSover into interfoam? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17 ![]() |
Hi, could you share some information about the version of openfoam you are using?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4 ![]() |
I used openfoam-v2012 and solid4foam v2.0.
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17 ![]() |
I have compiled only RBFMeshMotionSolver from solids4foam ( next release version) . But every time I launch a test in parallel, I obtained the following error.
Code:
terminate called after throwing an instance of 'std::bad_alloc' terminate called after throwing an instance of 'std::bad_alloc' terminate called after throwing an instance of 'std::bad_alloc' Code:
FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ("libfvMotionSolvers.so" "libRBFMeshMotionSolver.so"); // Radial basis function solver solver RBFMeshMotionSolver; RBFMeshMotionSolverCoeffs { // Settings for the RBF solver staticPatches (); movingPatches (tower); fixedPatches (inlet); interpolation { function TPS; } coarsening { enabled false; tol 0.1; } } In serial, the memory usage increase a lot for an hour without doing anything. Could you confirm that RBF works in parallel? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
xiangxiang
Join Date: Oct 2022
Posts: 4
Rep Power: 3 ![]() |
Hi, I have tested the overPimpleDyMFoam solver in openfoam, and the dynamic mesh uses the RBF mesh motion function of solid4foam. I've tested both serial and parallel, and they all work.
I forgot to mention that my simulation environment is OpenFOAM-Calculix-PreCICE. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4 ![]() |
Hi, I think the number of your mesh is so large that it runs out the memory of your PC. Because RBF method takes up a lot of memory. If you want to use RBF for parallel, you need to decrease the number of mesh or use a better PC. I hope it can help you.
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4 ![]() |
Hi xiangxiang,
Did you try RBF when using interfoam? Is it compatible? I tried it and it failed. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17 ![]() |
The mesh size is 2.7M cells I do not think it is so much.
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4 ![]() |
If you just want to verify whether it can run in parallel, you can modify the case in solid4foam/tutorials/fluidSolidInteraction/perpendicularFlap. You can find it can run in parallel.
|
|
![]() |
![]() |
![]() |
Tags |
interfoam, rbfmeshmotionsolver |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" | bigphil | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 686 | December 22, 2022 09:10 |