|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9 ![]() |
Hi all,
Below is my inputs in CFX-Pre, how do I define the period of the motion as Ansys CFX won't allow the expression Period because it is already an object. Thanks in advance ![]() LIBRARY: CEL: &replace EXPRESSIONS: DownWHeight = 0.12 [m] DownWVF = step((x-UpWLength)/1[m])*step((DownWHeight-y)/1[m]) OverallAirVF = 1-OverallWVF OverallWVF = UpWVF+DownWVF UpWHeight = 0.12 [m] UpWLength = 1.2 [m] UpWVF = step((UpWLength-x)/1[m])*step((UpWHeight-y)/1[m]) XAmplitude = 0.06 [m] XFrequency = 1/Period XOmega = 2*pi*XFrequency XSway = -XAmplitude*(XOmega^2)*sin(XOmega*t) YSway = -9.8 [m s^-2] END END END |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
If "Period" is a reserved variable name then just use another one. Or have I misunderstood your question?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9 ![]() |
so what other name do I put so CFX understands that i want to define the period of the motion?
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
I am very confused by your question. If you want the period as 5[s] then you can define it with slkjghsa = 5[s], and use it with XFrequency = 1/slkjghsa
If you don't like the variable name slkjghsa you can define it as anything you like - except the reserved variable names. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9 ![]() |
Thanks for your answer
|
|
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 ![]() |
Quote:
![]() |
||
![]() |
![]() |
![]() |
Tags |
cfx, sloshing |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX Treatment of Laminar and Turbulent Flows | Jade M | CFX | 18 | September 15, 2022 07:08 |
High Resolution (CFX) vs 2nd Order Upwind (Fluent) | gravis | ANSYS | 3 | March 24, 2011 02:43 |
CFX pressure in Simulations problem | nasdak | CFX | 1 | April 14, 2010 13:22 |
PhD using CFX | Rui | CFX | 9 | May 28, 2007 05:59 |
FSI using CFX and ANSYS | Bi Chang | CFX | 2 | May 10, 2005 04:47 |