|
[Sponsors] |
June 27, 2011, 06:42 |
cfx-boundary contition-cel-fortran
|
#1 |
New Member
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
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 |
|
June 27, 2011, 07:57 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,738
Rep Power: 143 |
Is the fortran program coupled to the simulation results, or is it just a pre-determined function of time?
|
|
June 27, 2011, 14:38 |
re
|
#3 |
New Member
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
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.
|
|
June 27, 2011, 19:25 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,738
Rep Power: 143 |
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.
|
|
June 30, 2011, 07:05 |
|
#6 |
New Member
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
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... |
|
June 30, 2011, 18:43 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,738
Rep Power: 143 |
I see. In that case I suspect this is best done in fortran as you can read an input file.
|
|
|
|
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 03:32 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 04:05 |
Intel Fortran and CFX 11.0 | Rogerio Fernandes Brito | CFX | 4 | November 11, 2008 00:27 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 6, 2008 23:17 |