CFD Online Logo CFD Online URL
Home > Forums > FLUENT

interpolate 3D data into a source term

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

LinkBack Thread Tools Display Modes
Old   October 2, 2012, 11:47
Default interpolate 3D data into a source term
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


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
transient source term strakakl OpenFOAM 38 November 19, 2013 02:18
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 5 June 21, 2013 05:39
How to define a transient species source term? aleisia FLUENT 3 March 7, 2011 23:58
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24

All times are GMT -4. The time now is 13:46.