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

Solids4Foam:Solution crashes after changing fluid and material properties

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bigphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2022, 13:30
Default Solids4Foam:Solution crashes after changing fluid and material properties
  #1
New Member
 
Please select...
Join Date: Jan 2022
Posts: 2
Rep Power: 0
danielparmar is on a distinguished road
Dear all CFD community,

I recently started working on a project related to FSI of flexible wings. I am using turekHron fsi case from solids4foam. Since for flexible wing, atmospheric conditions are needed. Thus, I changed the boundary conditions in U directory to freestream (inlet,top,bottom patches) at 1.5 ms-1,the simulation runs perfectly(considering default fluid and solid-material properties).

But as soon as change the fluid properties to air (rho-1.23, nu 1.47e-5) and solid material properties of polyethylene foam (rho 32.9, poisson ratio 0.2, E-0.849e+5) keeping freestream conditions the solution crashes after 2 seconds, showing run time error.

I would be glad if you all can tell me is there anything else I need to consider to look at changing along with these porperties that leads to smooth.

log file :
https://drive.google.com/file/d/1wiC...ew?usp=sharing
danielparmar is offline   Reply With Quote

Old   February 11, 2022, 10:55
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi Daniel,

One thing to note is that in the HronTurek example cases in solids4foam, the FSI coupling is enabled at 2 seconds; this is done to allow the flow to develop first before enabling the coupling. If you are using the same settings then the FSI coupling is obviously unstable and blows up.

If that is the case, then try make the problem easier and find what is breaking it and how to stop it breaking. e.g. try more slowly reducing the solid stiffness and density and changing the fluid properties (do one at a time), and experiment with other FSI coupling settings, egg, try Aitken's coupling.
bigphil is offline   Reply With Quote

Old   April 11, 2022, 07:46
Default
  #3
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Hi Daniel,

One thing to note is that in the HronTurek example cases in solids4foam, the FSI coupling is enabled at 2 seconds; this is done to allow the flow to develop first before enabling the coupling. If you are using the same settings then the FSI coupling is obviously unstable and blows up.

If that is the case, then try make the problem easier and find what is breaking it and how to stop it breaking. e.g. try more slowly reducing the solid stiffness and density and changing the fluid properties (do one at a time), and experiment with other FSI coupling settings, egg, try Aitken's coupling.
Hi, I am a new user for openFoam. Can you help me?
I want to ask a question about solids4Foam. Can this solver dissolve air and water together such as interFoam?
efendi is offline   Reply With Quote

Old   April 11, 2022, 08:02
Default
  #4
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by efendi View Post
Hi, I am a new user for openFoam. Can you help me?
I want to ask a question about solids4Foam. Can this solver dissolve air and water together such as interFoam?
Yes, you can use the "interFluid" fluid model, which is just a ported version of interFoam. Have a look at the solids4foam training slides (e.g. at https://www.researchgate.net/profile...f/publications) which show an FSI version of the damBreak case (air, water and deformable solid).
efendi likes this.
bigphil is offline   Reply With Quote

Old   April 11, 2022, 08:04
Default
  #5
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Yes, you can use the "interFluid" fluid model, which is just a ported version of interFoam. Have a look at the solids4foam training slides (e.g. at https://www.researchgate.net/profile...f/publications) which show an FSI version of the damBreak case (air, water and deformable solid).
Thank you very much.
efendi is offline   Reply With Quote

Old   November 11, 2022, 03:22
Default
  #6
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Yes, you can use the "interFluid" fluid model, which is just a ported version of interFoam. Have a look at the solids4foam training slides (e.g. at https://www.researchgate.net/profile...f/publications) which show an FSI version of the damBreak case (air, water and deformable solid).
Hi bigphil,
I want to study elastic material behavior for two-phase flow with solids4Foam. I want to use variableHeightFlowRateVelocity in inlet but I get an error for foamExtend 4.1 (trying to construct an genericFvPatchField on patch inlet of field rho). I tried to continue with the interElasticBeam tutorial but I am getting an error. For OpenFOAM 7, I get the error that the version is not suitable. Can you help with this? In short, I want to do something like the weirOverflow tutorial in OpenFoam 7.
efendi is offline   Reply With Quote

Old   November 11, 2022, 06:01
Default
  #7
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by efendi View Post
Hi bigphil,
I want to study elastic material behavior for two-phase flow with solids4Foam. I want to use variableHeightFlowRateVelocity in inlet but I get an error for foamExtend 4.1 (trying to construct an genericFvPatchField on patch inlet of field rho). I tried to continue with the interElasticBeam tutorial but I am getting an error. For OpenFOAM 7, I get the error that the version is not suitable. Can you help with this? In short, I want to do something like the weirOverflow tutorial in OpenFoam 7.
One solution could be to use the nextRelease branch of solids4foam, which compiles with OpenFOAM-9 (see http://solids4foam.github.io/). That should be able to run the weirOverflow tutorial.
bigphil is offline   Reply With Quote

Old   November 11, 2022, 08:40
Default
  #8
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
One solution could be to use the nextRelease branch of solids4foam, which compiles with OpenFOAM-9 (see http://solids4foam.github.io/). That should be able to run the weirOverflow tutorial.
Thank you very much. I will try it.
efendi is offline   Reply With Quote

Old   November 17, 2022, 02:11
Default
  #9
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
One solution could be to use the nextRelease branch of solids4foam, which compiles with OpenFOAM-9 (see http://solids4foam.github.io/). That should be able to run the weirOverflow tutorial.
Hi bigphil,
I compiled solids4Foam with of9 as your suggestion but now ı see this message "not implemented for this version of OpenFOAM"
efendi is offline   Reply With Quote

Old   November 18, 2022, 06:38
Default
  #10
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by efendi View Post
Hi bigphil,
I compiled solids4Foam with of9 as your suggestion but now ı see this message "not implemented for this version of OpenFOAM"
Which fluid model are you using? Are you running a fluid-only case or is it FSI?
bigphil is offline   Reply With Quote

Old   November 18, 2022, 06:54
Default
  #11
New Member
 
efendi
Join Date: Sep 2021
Posts: 8
Rep Power: 5
efendi is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Which fluid model are you using? Are you running a fluid-only case or is it FSI?
I am working on fsi model. I want to examine the behavior of fluid and elastic materials using the same boundary conditions as in the weirOverFlow tutorial.
efendi is offline   Reply With Quote

Old   December 2, 2022, 14:44
Default
  #12
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by efendi View Post
I am working on fsi model. I want to examine the behavior of fluid and elastic materials using the same boundary conditions as in the weirOverFlow tutorial.
I just checked using the nextRelease branch of solids4foam (from GitHub) using OpenFOAM-v2012, and weirOverflow tutorial work fines in solids4foam.


I did the following:
  1. Change to the run directory: > cd $FOAM_RUN
  2. Copied the weirOverflow tutorial from the tutorials: > cp -r $FOAM_TUTORIALS/multiphase/interFoam/RAS/weirOverflow .
  3. Change into the case: > cd weirOverflow
  4. solids4foam needs two extra files: physicsProperties and fluidProperties
  5. Get physicsProperties from the solids4foam cylinderInChannel tutorial: > cp ../solids4foam/tutorials/fluids/cylinderInChannel/constant/physicsProperties constant/
  6. Get fluidProperties from the solids4foam flexibleDamBreak tutorial (as it uses interFluid): > cp ../solids4foam/tutorials/fluidSolidInteraction/flexibleDamBreak/constant/fluid/fluidProperties constant/
  7. Prepare the case as per the Allrun script: > cp -r 0.orig 0 && blockMesh && setFields
  8. Run solids4Foam solver: > solids4Foam

If you want to make the weir deformable then start with the flexibleDamBreak tutorial and modify the solid and fluid meshes, solid and fluid boundary conditions, and other settings (e.g. controlDict).
bigphil is offline   Reply With Quote

Reply

Tags
foam extend 4.0, fsi 2-way, solids4foam, turek and hron


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 22:43
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 00:27.