|
[Sponsors] |
March 23, 2006, 04:22 |
how to couple my own code with fluent
|
#1 |
Guest
Posts: n/a
|
hi i wanted to couple my own code with fluent in such a way that the fluent should be able to supply velocity data for every iteration to my code which will be running in parallel with fluent.please do reply to this message as early as possible if anybody knows the answer.
thank you |
|
March 23, 2006, 04:35 |
Re: how to couple my own code with fluent
|
#2 |
Guest
Posts: n/a
|
Have you tried UDF? You can access the fluent solver variables in UDFs
|
|
March 23, 2006, 08:11 |
Re: how to couple my own code with fluent
|
#3 |
Guest
Posts: n/a
|
thanx for replying lucy, actually i have code(that deals with combustion)in c and iam solving a flow problem(co flow)through a duct in fluent.i wanted to input my ycomponent velocity data that i get from fluent for evey iteration to my code (combustion) .
|
|
March 23, 2006, 08:48 |
Re: how to couple my own code with fluent
|
#4 |
Guest
Posts: n/a
|
A very simple approach which requires only minor changes to your existing code is to add in interface funtion to your c code. This funtion will take arguments from fluent (y velocity in your case) and pass it to your code. You can then compile your combustion code as dll and call it from fluent.
A small but maybe helpful example for WinXP can be found here http://www.cfd-online.com/Forum/flue...cgi?read=36290 RoM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The FOAM Documentation Project - SHUT-DOWN | holger_marschall | OpenFOAM | 242 | March 7, 2013 13:30 |
From 2D compressible code to 3D code | David Liu | Main CFD Forum | 22 | June 26, 2012 18:59 |
How can I find source code of fluent tutorial??? | CFD_LES | FLUENT | 0 | October 5, 2011 06:30 |
intializing data in fluent from an available solution( from an opensource code) | ayannath23 | FLUENT | 1 | December 21, 2010 13:54 |
Use Fluent to visualize flow generated by code? | viz | FLUENT | 0 | October 3, 2004 00:06 |