|
[Sponsors] |
cfx boundary condition added by user fortran subroutine doesn't work |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 29, 2018, 07:22 |
cfx boundary condition added by user fortran subroutine doesn't work
|
#1 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
Hi everyone, i'm learning cfx user fortran using a very simple steady case: to simulate the flow through a tube. I write a fortran subroutine to supply the outlet back pressure, which is in fact a constant value in the fortran code. I monitored the value from the subroutine and the value of calculated outlet pressure. The subroutine value remains the same during the calculation, but the calculated outlet pressure keeps on dropping to a very low value which is much lower than the subroutine value. How can i fix this?
|
|
May 29, 2018, 08:23 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Please attach your CCL.
What happens if you set the outlet pressure to the same value in CFX-Pre, so no user fortran?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 29, 2018, 11:24 |
|
#3 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
the function is added like this. It's a simple cel function, reads time step and pressure , returns a constant back pressure value, which is the red line in the monitor. But the calculated outlet pressure(the green line) keeps on dropping as if the back pressure is zero. If i replace the function with the constant value everything is ok. |
|
May 29, 2018, 11:26 |
|
#4 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
||
Tags |
user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
CFX User Fortran: Particle User Sources | hustxinxin | CFX | 0 | March 8, 2012 09:37 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |