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

Field function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2016, 06:25
Post Field function
  #1
New Member
 
rasool
Join Date: Aug 2016
Posts: 5
Rep Power: 9
rasoole is on a distinguished road
hello

i want to write a user defined field function for ( y/v*t ). so i write
($$Centroid[1])/($${Velocity}*$Time) for defined field function but an error.

Could anyone tell me how to define this equation profile by using field function?


Thank you!
rasoole is offline   Reply With Quote

Old   December 21, 2016, 07:46
Default
  #2
New Member
 
DL
Join Date: Jun 2016
Posts: 18
Rep Power: 9
underrelaxed is on a distinguished road
There is a scalar/velocity type mismatch in your function. A direction needs to be defined for your velocity.

Sent from my SM-G920T using CFD Online Forum mobile app
underrelaxed is offline   Reply With Quote

Old   December 21, 2016, 16:02
Default
  #3
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
You also should take care of a zero velocity or time leading to a zero denominator.
Schwob77 is offline   Reply With Quote

Reply


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 07:56
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 04:49
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


All times are GMT -4. The time now is 07:56.