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

how to read a 3D trajectory for CG_MOTION

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2013, 06:29
Default how to read a 3D trajectory for DEFINE_CG_MOTION
  #1
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Hi everybody,

I'm using a UDF with DEFINE_CG_MOTION to define the movement of an object in a 3D fluid domain. The path followed by the object is an irregular path so I wonder if there is a way for the macro to read a vector of positions instead of a mathematical description?

Thanks a lot

Last edited by Bollonga; October 3, 2013 at 08:28.
Bollonga is offline   Reply With Quote

Old   October 5, 2013, 14:38
Default
  #2
Member
 
like.no.other
Join Date: Sep 2011
Posts: 35
Rep Power: 15
like.no.other is on a distinguished road
Hi
You can do this with a profile
It is very simple
__________________
www.CFDiran.ir
like.no.other is offline   Reply With Quote

Old   October 5, 2013, 14:40
Default
  #3
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by like.no.other View Post
Hi
You can do this with a profile
It is very simple
Could you please explain me how to use a profile? Thanks a lot!
Bollonga is offline   Reply With Quote

Old   October 5, 2013, 15:12
Default
  #4
Member
 
like.no.other
Join Date: Sep 2011
Posts: 35
Rep Power: 15
like.no.other is on a distinguished road
Quote:
Originally Posted by Bollonga View Post
Could you please explain me how to use a profile? Thanks a lot!
first you should create a file with prof extension (*.prof) like the attached picture.
in profile you can define the time dependent variables (v_x,v_y,v_z,omega_x,omega_y,omega_z)

for example in this profile the angular velocity in z direction is defined.

at the end you should read it in fluent.
Attached Images
File Type: jpg Capture2.JPG (46.4 KB, 32 views)
__________________
www.CFDiran.ir
like.no.other is offline   Reply With Quote

Old   October 7, 2013, 08:25
Default
  #5
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Thanks a lot! You've been of great help!
Bollonga is offline   Reply With Quote

Old   August 18, 2014, 07:45
Default
  #6
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
What happens when the profile timestep is larger than the solver timestep? Does it linearly interpolate the position between the two profile timesteps?

Any help would be greatly appreciated. Thanks.
Bollonga is offline   Reply With Quote

Reply

Tags
cg_motion, dynamic mesh, macro, moving mesh, udf


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 calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 09:46
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 UDS_rambler FLUENT 2 November 22, 2011 10:46
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


All times are GMT -4. The time now is 22:52.