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

how to couple my own code with fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2006, 03:22
Default how to couple my own code with fluent
  #1
chandu
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

  Reply With Quote

Old   March 23, 2006, 03:35
Default Re: how to couple my own code with fluent
  #2
Lucy
Guest
 
Posts: n/a
Have you tried UDF? You can access the fluent solver variables in UDFs

  Reply With Quote

Old   March 23, 2006, 07:11
Default Re: how to couple my own code with fluent
  #3
chandu
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) .
  Reply With Quote

Old   March 23, 2006, 07:48
Default Re: how to couple my own code with fluent
  #4
RoM
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
  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
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 12:30
From 2D compressible code to 3D code David Liu Main CFD Forum 22 June 26, 2012 17:59
How can I find source code of fluent tutorial??? CFD_LES FLUENT 0 October 5, 2011 05:30
intializing data in fluent from an available solution( from an opensource code) ayannath23 FLUENT 1 December 21, 2010 12:54
Use Fluent to visualize flow generated by code? viz FLUENT 0 October 2, 2004 23:06


All times are GMT -4. The time now is 06:45.