|
[Sponsors] |
July 16, 2017, 10:28 |
problem writing field function
|
#1 |
New Member
vernon
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
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. |
|
July 18, 2017, 01:28 |
|
#2 |
Senior Member
|
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 |
|
July 18, 2017, 02:07 |
|
#3 |
Member
Join Date: Apr 2014
Location: N/A
Posts: 47
Rep Power: 12 |
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? |
|
August 1, 2017, 08:00 |
|
#4 |
New Member
vernon
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
Thank you very much for your help man. I have already covered this problem following your advice.
|
|
|
|
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 |