CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

moving mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2005, 23:33
Default moving mesh
  #1
sulfi
Guest
 
Posts: n/a
Dear friends,

could you tell me how to do the moving mesh analysis in fluent. my case is a planing craft, which should move up and down due to the dynamic pressure acting on it. Please send me any moving mesh tutorial which will help me doing the same.

thanking u sulfi
  Reply With Quote

Old   April 11, 2005, 02:56
Default Re: moving mesh
  #2
handou
Guest
 
Posts: n/a
you should use the dynamic mesh method. write a udf to describe your motion. do you have the FLUENT tutorial files? there is a example very similar to yours.
  Reply With Quote

Old   April 11, 2005, 13:42
Default Re: moving mesh
  #3
sulfi
Guest
 
Posts: n/a
handou thank u for ur reply

in fluents sliding mesh tutorials they are specifying the rotor motion velocity as the velocity of the mesh.

But i am simulating a planing craft which should move depending on the dynamic pressure acting on its bottom.

please help me doing the above problem.

send me if u have any other turorials of moving mesh

thanking u
  Reply With Quote

Old   April 12, 2005, 08:36
Default Re: moving mesh
  #4
handou
Guest
 
Posts: n/a
this is a example in the guide. hope it can help. #include "udf.h" static real v_prev = 0.0; DEFINE_CG_MOTION(piston, dt, vel, omega, time, dtime) { Thread *t; face_t f; real NV_VEC (A); real force, dv; /* reset velocities */ NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); if (!Data_Valid_P ()) return; /* get the thread pointer for which this motion is defined */ t = DT_THREAD (dt); /* compute pressure force on body by looping through all faces */ force = 0.0; begin_f_loop (f, t) { F_AREA (A, f, t); force += F_P (f, t) * NV_MAG (A); } end_f_loop (f, t) /* compute change in velocity, i.e., dv = F * dt / mass velocity update using explicit Euler formula */ dv = dtime * force / 50.0; v_prev += dv; Message ("time = %f, x_vel = %f, force = %f\n", time, v_prev, force); /* set x-component of velocity */ vel[0] = v_prev; }
  Reply With Quote

Old   April 12, 2005, 08:54
Default Re: moving mesh
  #5
sulfi
Guest
 
Posts: n/a
thank u handou.

But i am not able to follow the uDF properly. can u send the whole example of the guide.so that i can solve that problem which may help me better understand how to set up a moving mesh problem and may help me to write the UDF. can u explain the UDF eloberately
  Reply With Quote

Old   April 12, 2005, 09:32
Default Re: moving mesh
  #6
handou
Guest
 
Posts: n/a
sorry, i never used this udf before. i just copy it from the help file for you. don't you have the udf help file? it's about 2MB big. can i send it to your email?
  Reply With Quote

Old   April 12, 2005, 16:58
Default Re: moving mesh
  #7
Shuto
Guest
 
Posts: n/a
I think this problem is quite difficult especially if you have no former experience with a dynamic mesh.

If the flow is going to drive the motion of the body you will need to incorporate feedback from the simulation into the udf.

I recommend that initially you write a very simple udf to produce linear motion. Once you have got that working then move on to incorporating flow effects.

Hope this helps, Shuto.
  Reply With Quote

Old   April 13, 2005, 23:52
Default Re: moving mesh
  #8
sulfi
Guest
 
Posts: n/a
Dear handou,

i havnt got the two files sent by you. file. when i downloaded the message came file corrupted. can u send it again.

Thanking u

sulfi
  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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
How to let the mesh motion solver just solve a small region near a moving boundary? zhajingjing OpenFOAM Running, Solving & CFD 9 April 28, 2016 04:15
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
Waves halted by moving mesh Piotr Czajko COMSOL 1 November 24, 2007 02:00


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