|
[Sponsors] |
how to use CFX coupling with external Fortran procedure |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2016, 22:31 |
how to use CFX coupling with external Fortran procedure
|
#1 |
New Member
Ian
Join Date: Oct 2013
Posts: 23
Rep Power: 13 |
hi everyone,i want to use CFX compute waterhammer,i have use Fortran compile method of characteristics,i want to simulate 1D-3D,but MPCCI did't have port to connect CFX and Fortran, can use CEl or CCL to compile method of characteristics and compute in CFX?
thank you ! |
|
March 16, 2016, 02:53 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
I would recommend you use a user defined CEL function to do your boundary condition between the 1D and 3D sections, and you put your MOC code in the fortran for the CEL function.
|
|
March 16, 2016, 03:50 |
|
#3 |
New Member
Ian
Join Date: Oct 2013
Posts: 23
Rep Power: 13 |
if I want to update the boundary condition every time step according to the results calculated by Fortran, then CFX passes the simulated values to Fortran in next step, how can I make this kind of two way coupling with CEL function?
|
|
March 16, 2016, 03:52 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Put your fortran in the routine which defines the boundary condition for CFX. To do this you need to define a user variable with fortran in CFX. Then you do not need to pass values - the fortran will run as a part of CFX.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX 15 & Intel Fortran | papteo | CFX | 4 | December 15, 2015 07:06 |
User Fortran with CFX 14.5.7 on winnt_amd64 | HLo | CFX | 22 | December 13, 2015 09:26 |
How to get vertex(node) number in CFX user Fortran.. | flyply | CFX | 4 | February 4, 2014 20:51 |
cfx a mechanical thermal coupling | keeper | CFX | 1 | May 28, 2013 22:34 |
How to set environmental variables of Intel Fortran +CFX? | Christine MO | CFX | 0 | September 23, 2011 12:11 |