CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Modification of a mesh during runtime

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By eysteinn
  • 1 Post By eysteinn

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2013, 08:12
Default Modification of a mesh during runtime
  #1
New Member
 
Daniel Leichtle
Join Date: Aug 2013
Posts: 6
Rep Power: 3
Scofield is on a distinguished road
Hey all,

i am searching for a functionality in OpenFoam to modify a mesh during runtime of my simulation. The modification should be read in the next time step.

Does anyone know if there exists a functionality for my problem?

Remark:
Using the dynamic mesh functionality, the informations (time and movement) for modifying a mesh have to be defined already in the preprocessing step. It not allows a modification during runtime as far as I know.

Thanks in advance!
Regards,
Daniel
Scofield is offline   Reply With Quote

Old   October 4, 2013, 12:29
Default
  #2
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 5
zhengzh5 is on a distinguished road
Quote:
Originally Posted by Scofield View Post
Hey all,

i am searching for a functionality in OpenFoam to modify a mesh during runtime of my simulation. The modification should be read in the next time step.

Does anyone know if there exists a functionality for my problem?

Remark:
Using the dynamic mesh functionality, the informations (time and movement) for modifying a mesh have to be defined already in the preprocessing step. It not allows a modification during runtime as far as I know.

Thanks in advance!
Regards,
Daniel
hey, as far as i know, there isn't that function. and I do have one quick question, do you want the solver to calculate the new shape, morph it, and do more calculations, like a shape optimization problem?
zhengzh5 is offline   Reply With Quote

Old   October 8, 2013, 06:01
Default
  #3
New Member
 
Daniel Leichtle
Join Date: Aug 2013
Posts: 6
Rep Power: 3
Scofield is on a distinguished road
Thanks zhengzh5 for your response.
When I modify my mesh, i just want that the simulation continues with the modified mesh. I intend to prescribe how the mesh should be modified, so the solver does not have to calculate a specific shape.
Scofield is offline   Reply With Quote

Old   October 8, 2013, 07:03
Default
  #4
Member
 
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 52
Rep Power: 7
eysteinn is on a distinguished road
I'm not sure what your goal is here. I'm guessing modification of the surface nodes
and then propagating the motion into the domain?

Here are some nice tutorials on how you can modify your mesh
Tutorial 1
Tutorial 2

or maybe you want to change the topology while running?, then you can take a look at this one

There are some other tutorials that you can find here
and changing the year in the url will reveal some more.

/Eysteinn
happydogy likes this.
eysteinn is offline   Reply With Quote

Old   October 8, 2013, 09:11
Default
  #5
Senior Member
 
Daniel
Join Date: Mar 2013
Posts: 175
Rep Power: 9
Daniel_Khazaei will become famous soon enough
well I think I am trying to do the same and have a similar question.

What I want to do is, for example:

at time t :

calculation will be performed on the current mesh and then the mesh will be moved. After that, according to a criterion (e.g skewness), the moved mesh will be refined and data from older mesh will be mapped on the new mesh.

at the end, the next time ( t+ delt_t) starts on the final mesh.

Is there any functionality already implemented to do this?

regards
Daniel_Khazaei is offline   Reply With Quote

Old   October 8, 2013, 09:44
Default
  #6
Member
 
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 52
Rep Power: 7
eysteinn is on a distinguished road
Quote:
Originally Posted by Daniel_Khazaei View Post
well I think I am trying to do the same and have a similar question.

What I want to do is, for example:

at time t :

calculation will be performed on the current mesh and then the mesh will be moved. After that, according to a criterion (e.g skewness), the moved mesh will be refined and data from older mesh will be mapped on the new mesh.

at the end, the next time ( t+ delt_t) starts on the final mesh.

Is there any functionality already implemented to do this?

regards
There is no one solver or utility that I know of that does this all.
There are tools that do each one of those things, and then it is a question of
combining them. You should be able to do this for a single processor by modifying
the solver you want to use and running the different utilities from there.

Maybe someone else here has a better suggestion?

/Eysteinn
Daniel_Khazaei likes this.
eysteinn is offline   Reply With Quote

Old   October 15, 2013, 12:49
Default
  #7
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 5
zhengzh5 is on a distinguished road
if you have all the mesh ready for different time steps, I would just write a bash script to call the solver, map the fields from old mesh to new mesh and continue with the calculation.
zhengzh5 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Mesh smoothing at runtime in OF WiWo OpenFOAM 1 December 2, 2011 15:25
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
How to change mesh size at runtime benk OpenFOAM 3 May 16, 2010 19:31
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 11:57.