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

CEL and fortran for multiphase flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2015, 01:26
Default CEL and fortran for multiphase flow
  #1
New Member
 
Join Date: Sep 2015
Posts: 10
Rep Power: 2
andyyuan is on a distinguished road
Hi All,

I am trying to use MUSIG model to simulate air-water bubbly flow. CFX is only featured with "Prince and Blanch" model for the calculation of coalescence rate. But it is not applicable in my case. I have to write either a CEL or a fortran routine for the suitable model.

In order to get familiar with CEL and fortran, I use "Prince and Blanch" model for practice. When I use CEL to calculate the coalescence rate in "Prince and Blanch" model, the cfx works well. However, with same equations, when I use fortran routine to calculate the coalescence rate, error occurs:

ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Floating point exception: Zero divide |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine FPX: C_FPX_HANDLER |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+

Does anyone know what the problem is? It doesn't make sense for me that why CEL and fortran routine have different reults with same equations.

Any help or information is highly appreciated.
Thanks in advance
andyyuan 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
CEL or Fortran Code hana-90 CFX 2 September 16, 2015 04:24
Additional Variables Defined By User FORTRAN CEL Wheeler CFX 2 August 6, 2013 21:33
CEL vs. USER FORTRAN Zaktatir CFX 0 February 16, 2013 07:29
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 2 October 15, 2007 09:29
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 0 October 15, 2007 06:39


All times are GMT -4. The time now is 07:03.