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

problem writing field function

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2017, 10:28
Default problem writing field function
  #1
New Member
 
vernon
Join Date: Jul 2017
Posts: 2
Rep Power: 0
vernon is on a distinguished road
Hello everyone, I am having some problem using star CCM+ for my model. I was trying to use a specific function for my fully-developed velocity inlet. As my model is a pipe, the profile function is V(r)=Vmax*[1-(r/R)^2].
I am not sure how to compile user defined function in star ccm+. Thanks in advance for the assistance.
vernon is offline   Reply With Quote

Old   July 18, 2017, 01:28
Default
  #2
Senior Member
 
Ashok Chaudhari
Join Date: Aug 2016
Location: Pune, India
Posts: 243
Rep Power: 6
ashokac7 is on a distinguished road
Send a message via Skype™ to ashokac7
One way to due is by creating a table having i, j, k velocities and position data and applying it as a boundary condition. But you may have to take lot effort for creating a table.

Sent from my Redmi Note 3 using CFD Online Forum mobile app
ashokac7 is offline   Reply With Quote

Old   July 18, 2017, 02:07
Default
  #3
Member
 
Join Date: Apr 2014
Location: N/A
Posts: 33
Rep Power: 8
FluentStarter is on a distinguished road
Shouldn't V(x,y)=Vmax*[1-(sqrt(Position(0)^2+Position(1)^2)/R)^2] do it?
With position corresponding to the location in your x and y coordinate if we suppose your inlet lies in the x-y plane?
FluentStarter is offline   Reply With Quote

Old   August 1, 2017, 08:00
Default
  #4
New Member
 
vernon
Join Date: Jul 2017
Posts: 2
Rep Power: 0
vernon is on a distinguished road
Thank you very much for your help man. I have already covered this problem following your advice.
vernon is offline   Reply With Quote

Reply

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
Problem with Field Function gmoehl STAR-CCM+ 2 August 18, 2012 04:17
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


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