|
[Sponsors] |
April 8, 2013, 15:53 |
add source terms in CFX
|
#1 | |
New Member
Radouan
Join Date: Aug 2012
Posts: 2
Rep Power: 0 |
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 : Quote:
My geometry is : Any comments are welcome. Best regards! |
||
April 8, 2013, 19:32 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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.
|
|
April 11, 2013, 19:37 |
|
#3 |
New Member
Radouan
Join Date: Aug 2012
Posts: 2
Rep Power: 0 |
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 |
|
April 12, 2013, 09:45 |
|
#4 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MULES with source terms and multiple phases | tgvosk | OpenFOAM Running, Solving & CFD | 8 | March 21, 2018 07:14 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14: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 |