CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

cfx-boundary contition-cel-fortran

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 27, 2011, 06:42
Unhappy cfx-boundary contition-cel-fortran
  #1
New Member
 
Join Date: Mar 2009
Posts: 19
Rep Power: 8
kordou is on a distinguished road
Hi

I have o fortran program that generates an inlet temperature, a duct surface temperature, a wall heat transfer coefficient and an air temperature inside a duct. the results are writen on a text file.

I'd like some help on connecting this program with the cfx. Basically I want to run a transient run and at every time step i want cfx's boundary contitions to be updated from the text file.

i know that it can be done with cel but i do not know how

If anyone can help me here?

thanks in advanced
kordou is offline   Reply With Quote

Old   June 27, 2011, 07:57
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,815
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Is the fortran program coupled to the simulation results, or is it just a pre-determined function of time?
ghorrocks is offline   Reply With Quote

Old   June 27, 2011, 14:38
Default re
  #3
New Member
 
Join Date: Mar 2009
Posts: 19
Rep Power: 8
kordou is on a distinguished road
The program is a stand alone. it is a code that i have made, and it calculates an estiamation of the boundary conditions that outputs on a text file. it is not linked with cfx at any way.
kordou is offline   Reply With Quote

Old   June 27, 2011, 19:25
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,815
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
OK, in that case you can send the output of the fortran file to a text file and use the data to generate interpolation functions and/or profiles. You can do 1D or 3D interpolation functions in CFX-Pre easily.
ghorrocks is offline   Reply With Quote

Old   June 28, 2011, 02:49
Default
  #5
New Member
 
Join Date: Mar 2009
Posts: 19
Rep Power: 8
kordou is on a distinguished road
ghorrocks Thank you, i will try it
kordou is offline   Reply With Quote

Old   June 30, 2011, 07:05
Default
  #6
New Member
 
Join Date: Mar 2009
Posts: 19
Rep Power: 8
kordou is on a distinguished road
HI,
is there any way to give a value to all cells of boundary condition surfcace so i will not have to give a value on every one cell. If i want to give a value on every cell i will have to write a huge input file with millions of lines...
kordou is offline   Reply With Quote

Old   June 30, 2011, 18:43
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,815
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I see. In that case I suspect this is best done in fortran as you can read an input file.
ghorrocks is offline   Reply With Quote

Reply

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
Importing external DLL to Ansys CFX using user Fortran snpradeep CFX 2 May 16, 2014 03:52
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Intel Fortran and CFX 11.0 Rogerio Fernandes Brito CFX 4 November 11, 2008 01:27
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17


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