CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Field Function for Rotation around a COS wanted

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2016, 11:56
Exclamation Field Function for Rotation around a COS wanted
  #1
New Member
 
Join Date: Mar 2016
Posts: 3
Rep Power: 10
TRGH is on a distinguished road
Hi, I am currently searching for a field function which allows me to rotate an overset mesh around a cartesian COS 2 seconds after starting the simulation and stopping after 0.05s. Can anybody here help me or do you have a guide how to set up field functions?

Thank you in advance,
TRGH
TRGH is offline   Reply With Quote

Old   March 19, 2016, 16:02
Default
  #2
New Member
 
Join Date: Mar 2016
Posts: 3
Rep Power: 10
TRGH is on a distinguished road
I figured it out, if somebody needs it:

($Time<=2)?0:
(
($Time>2&&$Time<=2.03)?1:
(
($Time>2.03&&$Time<=4)?0:
(
($Time>4&&$Time<=4.03)?1:
($Time>4.03)?0:0
)
)
)

Replace the 1 with your desired speed and add "Rotation" (or Translation) under Tools-Motions, set your rotation rate (or Translation velocity) as [TheNameofYourFieldFunction].
TRGH is offline   Reply With Quote

Reply

Tags
field function, overset


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 05:49
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


All times are GMT -4. The time now is 14:16.