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

interpolate 3D data into a source term

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2012, 12:47
Default interpolate 3D data into a source term
  #1
New Member
 
Dario Rodrigues
Join Date: Dec 2011
Posts: 2
Rep Power: 0
dbrodrigues is on a distinguished road
hey guys!

I've data in a txt file in the following format:

x1 y1 z1 q1
x2 y2 z2 q2
...

Where qi is a heat source determined in HFSS (units = W/m3 and (x,y,z) are the coordinates of the mesh, which are not the same as the mesh coordinates in FLUENT.

So I suppose I have to
1) interpolate data into a function f
3) create a UDF using DEFINE_SOURCE and link that function to the grid in FLUENT

I really don't know how to implement the first step.

Thank you!
dbrodrigues 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 of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 15:21
transient source term strakakl OpenFOAM 38 November 19, 2013 02:18
How to define a transient species source term? aleisia FLUENT 3 March 7, 2011 23:58
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


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