CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

add source terms in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2013, 15:53
Default add source terms in CFX
  #1
New Member
 
Radouan
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 :

Quote:
[Name]
Xmomentum

[Spatial Fields]
x, y, z

[Data]
x [ m ],y [ m ],z [ m ],x_momentum [ Pa m^2 ]
0.83,-0.0948,-0.005101,-0.045723873
0.83,-0.107,-0.0061602,0.8562502378
0.83,-0.119,-0.00718002,1.548711104
0.83,-0.128,-0.00794001,1.093336433
0.83,-0.131,-0.0081898,1.7390343124
0.83,-0.143,-0.009199997,3.33427554
0.83,-0.156,-0.0104,4.0889305808483
0.83,-0.17,-0.0116,4.64777404898814
0.83,-0.183,-0.0128,5.3140303878275
0.83,-0.196,-0.014,5.52401614889637
0.83,-0.209,-0.0152,5.8011585140083
0.83,-0.223,-0.0164,6.3672409032532
0.83,-0.236,-0.0175999,5.8485295588
0.83,-0.244,-0.0183,3.2329651066391
0.83,-0.249,-0.0187,1.9830417618841
0.83,-0.0941,-0.0127,-0.03660571174
0.83,-0.106,-0.0147,0.8510620826499
0.83,-0.118,-0.0167,1.5600977683659
0.83,-0.127,-0.0183,1.1141691036813
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, 19:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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, 19:37
Default
  #3
New Member
 
Radouan
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, 09:45
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
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

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
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


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