CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[solids4Foam] RBFMeshMotionSolver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2023, 06:56
Default RBFMeshMotionSolver
  #1
New Member
 
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4
sunweiyi2020 is on a distinguished road
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?
sunweiyi2020 is offline   Reply With Quote

Old   October 19, 2023, 10:48
Default
  #2
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17
be_inspired is on a distinguished road
Hi, could you share some information about the version of openfoam you are using?
be_inspired is offline   Reply With Quote

Old   October 21, 2023, 04:00
Default
  #3
New Member
 
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4
sunweiyi2020 is on a distinguished road
I used openfoam-v2012 and solid4foam v2.0.
sunweiyi2020 is offline   Reply With Quote

Old   October 23, 2023, 10:22
Default
  #4
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17
be_inspired is on a distinguished road
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'
This is my dynamicMeshDict file:

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;
    }
}
I do not want to perform a FSI simulation but use RBF solver for high mesh deformations where the laplacian approach does not work properly.

In serial, the memory usage increase a lot for an hour without doing anything.

Could you confirm that RBF works in parallel?
be_inspired is offline   Reply With Quote

Old   October 23, 2023, 23:13
Default
  #5
New Member
 
xiangxiang
Join Date: Oct 2022
Posts: 4
Rep Power: 4
xiangxiang is on a distinguished road
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.
xiangxiang is offline   Reply With Quote

Old   October 24, 2023, 01:38
Default
  #6
New Member
 
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4
sunweiyi2020 is on a distinguished road
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.
sunweiyi2020 is offline   Reply With Quote

Old   October 24, 2023, 01:40
Default
  #7
New Member
 
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4
sunweiyi2020 is on a distinguished road
Hi xiangxiang,
Did you try RBF when using interfoam? Is it compatible? I tried it and it failed.
sunweiyi2020 is offline   Reply With Quote

Old   October 24, 2023, 07:39
Default
  #8
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17
be_inspired is on a distinguished road
Quote:
Originally Posted by sunweiyi2020 View Post
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.
The mesh size is 2.7M cells I do not think it is so much.
be_inspired is offline   Reply With Quote

Old   October 25, 2023, 03:06
Default
  #9
New Member
 
SUN WEIYI
Join Date: Jul 2022
Posts: 10
Rep Power: 4
sunweiyi2020 is on a distinguished road
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.
sunweiyi2020 is offline   Reply With Quote

Reply

Tags
interfoam, rbfmeshmotionsolver


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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10


All times are GMT -4. The time now is 12:01.