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

how to use a subroutine in CFX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2009, 15:40
Default how to use a subroutine in CFX
  #1
New Member
 
Sergio Brett
Join Date: Jul 2009
Posts: 14
Rep Power: 8
sergiorbrett is on a distinguished road
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
sergiorbrett is offline   Reply With Quote

Old   August 29, 2009, 08:01
Wink
  #2
Senior Member
 
Rogerio Jack
Join Date: Mar 2009
Location: Brazil
Posts: 100
Rep Power: 7
rogbrito is an unknown quantity at this point
Send a message via Skype™ to rogbrito
Hi Sir,

Take a look yourself:

Error 255 with intel fortran compiler

http://www.4shared.com/file/72198900...tionpart1.html

http://www.4shared.com/file/72199871...tionpart2.html

With kind regards,

Rogerio.


Quote:
Originally Posted by sergiorbrett View Post
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
rogbrito is offline   Reply With Quote

Old   August 29, 2009, 10:52
Default
  #3
Senior Member
 
Join Date: Jul 2009
Posts: 211
Rep Power: 9
kingjewel1 is on a distinguished road
Quote:
Originally Posted by sergiorbrett View Post
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
As far as I can remember this tutorial can be done without compiling anything. Do you have a fortran compiler installed on your machine?
kingjewel1 is offline   Reply With Quote

Old   August 29, 2009, 11:33
Default
  #4
New Member
 
Sergio Brett
Join Date: Jul 2009
Posts: 14
Rep Power: 8
sergiorbrett is on a distinguished road
Hi.

The tutorial 9 can be done with CEL expression, but there is an opcion to do it compiling a file called PipeValve_inlet.F, at this point is where I get the error message.

I don't have installed any fortran compiler in my pc, now I realized that this is the problem, I am going to install it and then try again.

Thanks
sergiorbrett 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
GETVAR SUBROUTINE for additional variable in CFX Tuks Main CFD Forum 0 November 8, 2005 07:13
CFX 4.4: NAG Library Link to CFX subroutine... Robin K CFX 2 September 21, 2005 10:40
SEEK FOR 'CFX Subroutine Archive' youngan CFX 2 August 30, 2003 06:05
discuss user subroutine in CFX Anicorl CFX 6 August 25, 2003 17:01
CFX User Subroutine Archive David Creech Main CFD Forum 0 March 17, 1999 13:41


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