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

Swaying in CFX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2016, 08:33
Post Swaying in CFX
  #1
New Member
 
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9
adamdogster is on a distinguished road
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
adamdogster is offline   Reply With Quote

Old   December 20, 2016, 16:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,767
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If "Period" is a reserved variable name then just use another one. Or have I misunderstood your question?
ghorrocks is offline   Reply With Quote

Old   December 21, 2016, 05:10
Default
  #3
New Member
 
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9
adamdogster is on a distinguished road
so what other name do I put so CFX understands that i want to define the period of the motion?
adamdogster is offline   Reply With Quote

Old   December 21, 2016, 06:13
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,767
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   December 21, 2016, 07:25
Default
  #5
New Member
 
AC
Join Date: Dec 2016
Posts: 3
Rep Power: 9
adamdogster is on a distinguished road
Thanks for your answer
adamdogster is offline   Reply With Quote

Old   December 21, 2016, 13:28
Default
  #6
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Glenn, slkjghsa is bad name, hrrrrrqnfarpombxl is much better.
Antanas is offline   Reply With Quote

Reply

Tags
cfx, sloshing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 18:05.