CFD Online Logo CFD Online URL
Home > Forums > CFX

add source terms in CFX

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

LinkBack Thread Tools Display Modes
Old   April 8, 2013, 14:53
Default add source terms in CFX
New Member
Join Date: Aug 2012
Posts: 2
Rep Power: 0
radouane_bne is on a distinguished road
Hi there

I have got a problem about adding folder of source terms in CFX and hope someone can help me figure it out.

I want to modelize a fan by adding sources termes (Energy, X-momentum, Y-momentum and Z-momentum) in the leading edge's plane.

I have 4 folders momentumX.csv, momentumY.csv,momentumZ.csv,Energysources.csv when I have for each coordinate a value, it looks like :


[Spatial Fields]
x, y, z

x [ m ],y [ m ],z [ m ],x_momentum [ Pa m^2 ]
My question is how to insert those folders ? CFX offer the possibility to add one source point, but in the case of my projet I have more than 1000 points.

My geometry is :

Any comments are welcome.

Best regards!
radouane_bne is offline   Reply With Quote

Old   April 8, 2013, 18:32
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,986
Rep Power: 107
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
Use a volume source term for this application. Define a volume in your mesh and assign a source term to it. The source term can vary as a function of XYZ so this will do what you need.
ghorrocks is offline   Reply With Quote

Old   April 11, 2013, 18:37
New Member
Join Date: Aug 2012
Posts: 2
Rep Power: 0
radouane_bne is on a distinguished road
Thank you a lot for your reply.

As you said, I create a volume in my mesh as shown in this picture :

but now in CFX, I don't see how to insert the folders like I've shown in my first message. I only find the option to insert a X,Y,Z momentum component (only one value) or an expression which is not the case of my problem. I'm wondering if it's possible to initilaze by a profil data like the inlet boundary condition cvs's folder in the tutorial (Chapter 11: Flow Through a Butterfly Valve).

thanks in advance
radouane_bne is offline   Reply With Quote

Old   April 12, 2013, 08:45
Senior Member
Join Date: Mar 2009
Posts: 615
Rep Power: 15
Lance is on a distinguished road
Im pretty sure you can include profile data in the input for the momentum components. Initialize your .csv file, and enter something like Xmomentum.x_momentum(x,y,z) for the X component (I used the names from your example).
Lance is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Pre-Processing 25 March 6, 2017 11:03
MULES with source terms and multiple phases tgvosk OpenFOAM Running, Solving & CFD 7 December 22, 2015 10:24
swak4Foam-groovyBC build problem zxj160 OpenFOAM 18 July 30, 2013 13:14
Source terms due to mass transfer in VOF model ssamton FLUENT 0 March 5, 2012 01:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44

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