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

Simplefoam runs using the same mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2021, 20:48
Default Simplefoam runs using the same mesh
  #1
New Member
 
anonymous
Join Date: Jul 2020
Posts: 5
Rep Power: 5
Openfoam5555 is on a distinguished road
I have a model that I want to run with various inlet and outlet conditions using simplefoam. Instead of re-meshing for each different boundary condition, can I re-use the same snappyhexmesh generated mesh and just change the boundary conditions and re-run?



It seems like this should be simple, but I'm missing something.


Thanks!
Openfoam5555 is offline   Reply With Quote

Old   April 29, 2021, 01:34
Default
  #2
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 12
Roman1 is on a distinguished road
Just change BC by hands and restart. If you use parallel running first start snappyHexMesh (after blockMesh of course) second decomposeParDict. Having changed BC (only in the "0" folder) run decomposeParDict again and run the solve.
Roman1 is offline   Reply With Quote

Old   April 29, 2021, 10:34
Default
  #3
New Member
 
anonymous
Join Date: Jul 2020
Posts: 5
Rep Power: 5
Openfoam5555 is on a distinguished road
Hey Roman,


Thanks. I'm trying to avoid having to re-run snappyhexmesh as that takes a significant amount of time. And if I'm only changing velocity and/or pressure I don't think that should be necessary. Is there a way to just restart the simulation after changing the BC and without re-running the mesh?


Thanks!
Openfoam5555 is offline   Reply With Quote

Reply


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
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
simpleFoam, axissymmetric Mesh badwalgurpreet OpenFOAM Running, Solving & CFD 0 August 3, 2018 17:58
simpleFoam parallel solver & Fluent polyhedral mesh Zlatko OpenFOAM Running, Solving & CFD 3 September 26, 2014 06:53
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42


All times are GMT -4. The time now is 08:59.