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

power law field function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2014, 15:39
Default power law field function
  #1
Gab
New Member
 
Gabriel
Join Date: Oct 2014
Posts: 1
Rep Power: 0
Gab is on a distinguished road
I have been trying to run a simulation with the following power law atmospheric velocity profile: u(y) = 6*(y/0.5)^0.23

I have used the following syntax to make a scaler field function: 6*pow(($$Position[1]/0.5),0.23).

This is then set as the inlet velocity condition. However, when I run a single iteration I get a floating point exception error pointing to the field function position.

If anyone has any idea what the problem could be, your advice would be much appreciated.

Thanks
Gab is offline   Reply With Quote

Old   October 23, 2014, 14:42
Default
  #2
New Member
 
Gary
Join Date: Sep 2014
Posts: 4
Rep Power: 11
Gary6891 is on a distinguished road
It might be that power law as field function just does not work for this purpose due to numerics, other option is to generate table using this same equation and import that as a table. That will work
Gary6891 is offline   Reply With Quote

Old   November 11, 2014, 16:48
Default
  #3
New Member
 
Bob
Join Date: Nov 2014
Posts: 1
Rep Power: 0
SideShow is on a distinguished road
Try $$Centroid instead of $$Position
SideShow 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
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 04:49
Problem in sampling data of custom field function in ANSYS FLUENT v14 apek_great ANSYS 1 February 26, 2014 05:10
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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