CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Mesh Morphing Field Function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 9, 2011, 10:55
Default Mesh Morphing Field Function
  #1
New Member
 
Florian
Join Date: Apr 2011
Posts: 5
Rep Power: 6
dirty_harry is on a distinguished road
Hi @ all,

I am trying to simulate a bullet through an barell with Mesh Morphing and Translation. What I need is a Field Function who says the the bullet is moving every 0.00001seconds, 0.01meters, any Ideas????

thanks for your help.
dirty_harry is offline   Reply With Quote

Old   August 9, 2011, 13:28
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 12
abdul099 is on a distinguished road
Why don't use the displacement option for the morpher? Otherwise calculate the velocity and use velocity as morphing option. Should be the easiest way, especially when the velocity (and therefore the displacement) is constant.

When it shouldn't be constant (for example due to the acceleration of the bullet due to the pressure), my first thought would be to use 6DOF morphing or try to find an equation for the velocity. Something like v = a*t
abdul099 is offline   Reply With Quote

Old   August 11, 2011, 08:04
Default
  #3
New Member
 
Florian
Join Date: Apr 2011
Posts: 5
Rep Power: 6
dirty_harry is on a distinguished road
Thanks for the advice....but how does it works when i reaches the max. streching of the cells to remesh it. Means not stop the simulation and remesh it, kinda automatition?

Thanks
dirty_harry is offline   Reply With Quote

Old   August 11, 2011, 10:07
Default
  #4
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 223
Rep Power: 9
ping is on a distinguished road
this sort of work is done with a simple java macro - have an outside loop which loops forever, then within the loop use some test to trigger a remesh - eg when mesh is 50% larger than last remesh, or a cell quality report. You then get the value of displacement from a report (or your F=ma calc in the macro), transform/scale etc the 3D CAD or Part solid or surface, then remesh and continue the loop - the region surfaces will be updated before remeshing begins. Like all macros, you record the steps first then insert the loop and get.value reports etc.
ping is offline   Reply With Quote

Old   August 11, 2011, 12:14
Default
  #5
New Member
 
Florian
Join Date: Apr 2011
Posts: 5
Rep Power: 6
dirty_harry is on a distinguished road
ok, thank you very much,

I never did something with Macro. So, I will try to work it out, hopefully.
dirty_harry 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
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
Mesh for 3 dim Geometry Phil FLUENT 9 July 12, 2000 04:39


All times are GMT -4. The time now is 21:50.