how to couple my own code with fluent
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 |
Re: how to couple my own code with fluent
Have you tried UDF? You can access the fluent solver variables in UDFs
|
Re: how to couple my own code with fluent
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) .
|
Re: how to couple my own code with fluent
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 |
All times are GMT -4. The time now is 08:56. |