|
[Sponsors] |
February 16, 2016, 00:44 |
Need help in Transient Analysis
|
#1 |
New Member
Join Date: Apr 2015
Posts: 12
Rep Power: 11 |
I am newbie to multi phase analysis and simulating a sloshing problem with sinusoidal motion of rectangular and cylindrical tank.
Force = 0.01*sin(7*time) I used the following udf to compute. Is this correct udf for such problem? or Should I use DEFINE_CG_MOTION or DEFINE_ZONE_MOTION? Which macro suits? #include "udf.h" #define omega 7 #define a 0.01 DEFINE_SOURCE(xmom_source, c, t, dS, eqn) { real source; real time=RP_Get_Real("flow-time"); if(time < 10) { source = - omega * omega * a * sin(omega * time) * C_R(c,t); dS[eqn] = - omega * tan(omega * time) * C_R(c,t); } else source = dS[eqn] = 0.0; return source; } here source term is acceleration. I'm not sure about this. Any help would be appreciated. Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
transient analysis thermal-structural | Agis | CFX | 3 | June 18, 2013 07:49 |
Average value of expression in transient flow analysis | JFK | CFX | 1 | May 22, 2013 09:52 |
transient analysis _porous medium | shaswat | CFX | 4 | January 25, 2012 01:18 |
Transient Analysis | krrishcfd | CFX | 2 | July 4, 2011 09:08 |
biogas venturi mixer transient analysis | pedro | Main CFD Forum | 0 | January 23, 2006 20:45 |