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

Free Fall CEL Definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2018, 07:47
Unhappy Free Fall CEL Definition
  #1
New Member
 
Join Date: Jan 2018
Posts: 5
Rep Power: 8
kanaha is on a distinguished road
Hello All;

I'm new member of this forum but I've figured many problems out with your posts before looking as a guest member. Firstly, I would like to thank all of you. And first time I can't find answer of my question in forum :/

I'm trying to setup a free fall object simulation on CFX. Object will be free at 800 meters until reach 300 m. Free fall rule says my final speed will be around 100 m/s but I should keep it under 50 m/s and it depends on my design. But how can I test my design? I m very confused about boundary conditions. I setup transient analysis and I've written CEL function at Inlet of enclosure as ' g*t ' . With this CEL, I can't verify my design whether vertical speed is under 50 m/s because it's increasing independent with my design.
And I changed CEL function at inlet as
' (9.81 [m/s^2] + areaAve(Force Y)@object) / 0.5 [kg] ) * t '
But this time CFX doesnt accept this CEL because of Force Y is doesnt exist in CFX setup.

Do you have any idea about my problem?

Thank you all.
kanaha is offline   Reply With Quote

Old   January 14, 2018, 13:00
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
It seems you need

force_y()@object
Opaque is offline   Reply With Quote

Old   January 14, 2018, 13:06
Default
  #3
New Member
 
Join Date: Jan 2018
Posts: 5
Rep Power: 8
kanaha is on a distinguished road
It doesnt work I also tried;
' Force Y(areaAve)@Object '
But result is same... Error message is that;
'Bad expression value 'AirVelocity' detected in parameter 'Normal Speed' in object '/FLOW:Flow Analysis 1/DOMAIN:FlowVolume/BOUNDARY:Inlet/BOUNDARY CONDITIONS/MASS AND MOMENTUM'.
CEL error:
The following unrecognised name was referenced: Force Y (on 'object').'
kanaha is offline   Reply With Quote

Old   January 14, 2018, 16:59
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
areaAve() is an integrating function. force_y(), as suggested by Opaque is also an integrating function. You can't use an integrating function on an integrating function.

force_y() just gives you the force on a surface exerted by the fluid. It is just a single scalar number.
ghorrocks is offline   Reply With Quote

Old   January 16, 2018, 09:43
Default
  #5
New Member
 
Join Date: Jan 2018
Posts: 5
Rep Power: 8
kanaha is on a distinguished road
But still I can't determine force_y() in setup stage. How can I test my object that I should keep its vertical speed under 50 m/s during free fall? Do you know any methodolgy to analyze this situation?

My Idea was that I can determine negative force as negative acceleration (F/m=a) against to gravitational acc for each time step. But this method doesnt work... :/
kanaha is offline   Reply With Quote

Old   January 16, 2018, 10:19
Default
  #6
New Member
 
Join Date: Jan 2018
Posts: 5
Rep Power: 8
kanaha is on a distinguished road
Ok, I figured my problem out. I determined expression like that;

expression for the current time step acceleration;

Current Acc = g - (P*A/m)
' g - (areaAve(Pressure)@object * (object area) / (objectmass) ) '

But this time I need expression for the velocity such as;

Current Velocity = Previous timestep Velocity + Current Acc * timestep

Anybody knows that Is there any expression command in CEL language to get previous timestep velocity in order to use it current timestep expression ?
kanaha is offline   Reply With Quote

Old   January 16, 2018, 16:44
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CEL cannot access previous time step data.

Are you trying to set the inlet velocity to be the equivalent of freefall? This is not the normal way of modelling this. The recommended way is to do a series of steady state simulations covering the speed range of interest, determining a drag versus speed curve, and then doing a simple ODE solver to predict the object's speed versus time. The ODE solver is in matlab, python, excel or whatever you do for mathematics.

Another comment: Why use areaAve(Pressure)@object*object area to get the force? Why not just use force_y()@object? This will include both the pressure and viscous forces so will be more accurate as your approach ignores the viscous component.

Final comment: There is actually an undocumented feature to access previous time step data. Be warned that it is not intuitive and results are hit and miss, so it might not work for you. Do a search on the forum for TRANS_LOOP and you will find some discussion about how to do it.
ghorrocks is offline   Reply With Quote

Old   January 16, 2018, 16:54
Default
  #8
New Member
 
Join Date: Jan 2018
Posts: 5
Rep Power: 8
kanaha is on a distinguished road
Thank you for your reply Glenn

I used pressure because CFX-Setup doesnt let me use force_y() directly. I guess it is only available in the post-process stage or I did something wrong.

And thank you for your advice. I'll check the ODE solver and TRANS-LOOP.

have a nice day
kanaha is offline   Reply With Quote

Reply

Tags
boundary conditions, free fall analysis


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
Free surface is not falling (VOF MODEL, TANK DRAINAGE) Blue FLUENT 3 November 28, 2013 05:51
free surface model sjtusyc CFX 3 September 5, 2012 18:33
free surface modelling using VOF sci Main CFD Forum 10 August 29, 2012 07:43
Linear analytical solution oto the 2D free sloshing water surface elevation bearcat Main CFD Forum 7 August 5, 2011 20:13
Free Surface Modeling willy FLUENT 11 July 17, 2001 07:07


All times are GMT -4. The time now is 10:01.