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

Help to create a CEL expression for Step function

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2013, 04:25
Default step function
  #21
Member
 
may
Join Date: Jul 2013
Posts: 31
Rep Power: 12
mayj is on a distinguished road
Hi Glenn
I sure appreciate your suggestion. This isn't something I can find in the library. I've looked at all relevant materials and have run many simulations. I need to get some ideas to ensure I'm on the right track.
mayj is offline   Reply With Quote

Old   November 2, 2013, 23:03
Default
  #22
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
An essential skill for any researcher is the ability to find out what other researchers have done in your field. You are not going to get very far without it. You really should do some research so you understand ways mixing can be measured to determine what is appropriate for your situation.

I do not know ways of measuring mixing because I do not need to in my field. I can guess a few ways, but it would be just a guess. If I needed to measure mixing I would be doing a literature search to find what the state of the art is. There is no point using a metric when you later find another one is much more appropriate. So do the research and get it right first time.
mayj likes this.
ghorrocks is offline   Reply With Quote

Old   November 3, 2013, 00:07
Default step function
  #23
Member
 
may
Join Date: Jul 2013
Posts: 31
Rep Power: 12
mayj is on a distinguished road
Sure, thanks
mayj is offline   Reply With Quote

Old   January 8, 2018, 01:08
Default Step Function for Inlet Velocity
  #24
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
I want to run a transient simulation for 10 seconds with a time step of 0.1 seconds. I have a rectangular domain with water as the working fluid. I want to provide an inlet normal velocity of 12 m/s for only 1 second and then want it to become zero suddenly after 1 second.

Kindly some body help me to write a step function expression or any other CEL expression to achieve my inlet velocity condition.
mujahidbadshah is offline   Reply With Quote

Old   January 10, 2018, 15:49
Default
  #25
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
Set the inlet velocity to

if(t<1[s],12[m s^-1],0[m s^-1])

CEL is very simple and is explained well in the documentation. Make sure you read the CFX reference guide on the CEL, and do the CFX tutorials.
ghorrocks is offline   Reply With Quote

Old   January 10, 2018, 23:41
Default
  #26
Member
 
Mujahid Badshah
Join Date: Oct 2015
Posts: 32
Rep Power: 10
mujahidbadshah is on a distinguished road
Hi Glenn,

Thanks a lot for your reply and help.
mujahidbadshah is offline   Reply With Quote

Reply

Tags
cylinder, step function


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
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
Help to create a CEL Expression Juan Maria Campos CFX 2 December 3, 2007 07:52
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 17:23


All times are GMT -4. The time now is 04:57.