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

tutorial 17

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2009, 10:26
Default tutorial 17
  #1
New Member
 
Mirko
Join Date: May 2009
Posts: 15
Rep Power: 16
painterwolf is on a distinguished road
I'm studying tutorial 17 because I need fortran subroutine for another project. I have problem with theese steps:
  1. Type the following command in the Command Editor dialog box (make sure you do not miss the semi-colon at the end of the line):
  2. ! system (“cfx5mkext TStat_Control.F”) < 1 or die “cfx5mkext failed”;
    1. This is equivalent to executing the following at an OS command prompt:
    cfx5mkext TStat_Control.F
  • The ! indicates that the following line is to be interpreted as power syntax and not CCL. Everything after the ! symbol is processed as Perl commands.
  • system is a Perl function to execute a system command.
  • The < 1 or die will cause an error message to be returned if, for some reason, there is an error in processing the command.
  1. Click Process to compile the subroutine.
    Note

    You can use the -double option (i.e., cfx5mkext -double TStat_Control.F) to compile the subroutine for use with double precision ANSYS CFX-Solver executables.
A subdirectory will have been created in your working directory whose name is system dependent (e.g., on IRIX it is named irix). This sub directory contains the shared object library.

The problem is A subdirectory NO will have been created in your working directory

Which error I'm committing?
painterwolf is offline   Reply With Quote

Old   May 21, 2009, 13:28
Default
  #2
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 17
Martijn is on a distinguished road
I don't understand your problem. Could you be any more specific?
What happens when you process
!system (“cfx5mkext TStat_Control.F”) < 1 or die; ?
Martijn is offline   Reply With Quote

Old   May 21, 2009, 13:34
Default
  #3
New Member
 
Mirko
Join Date: May 2009
Posts: 15
Rep Power: 16
painterwolf is on a distinguished road
NOTHING!! The subdirectory should be created there isn't in my working directory
painterwolf is offline   Reply With Quote

Old   May 21, 2009, 13:38
Default
  #4
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 17
Martijn is on a distinguished road
Does it give an output in the command window?
Did you install a fortran compiler on your system?
Martijn is offline   Reply With Quote

Old   May 22, 2009, 03:26
Default
  #5
New Member
 
Mirko
Join Date: May 2009
Posts: 15
Rep Power: 16
painterwolf is on a distinguished road
In my sistem I installed visual studio 2008 and after I installed visual fortran compiler 11.0.072.
When I launch !system (“cfx5mkext TStat_Control.F”) < 1 or die;
I read:

Use of uninitialized value in pattern match (m//) at (eval50) line 1.

And if I reply command I read:

Use of uninitialized value in pattern match (m//) at (eval51) line 1.

and after

Use of uninitialized value in pattern match (m//) at (eval52) line 1.

etc etc
painterwolf is offline   Reply With Quote

Old   May 22, 2009, 06:00
Default
  #6
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 17
Martijn is on a distinguished road
Only some compilers are known to work in combination with CFX. These should work (maybe a few more, not sure though): Intel fortran compiler 9.0, 9.1, 10 and 10.1, Compaq visual fortran 6.6(?).

I guess thats your problem.
Martijn is offline   Reply With Quote

Old   May 22, 2009, 06:10
Default
  #7
New Member
 
Mirko
Join Date: May 2009
Posts: 15
Rep Power: 16
painterwolf is on a distinguished road
Where I can find a trial version for one of theese FORTRAN versions?
painterwolf is offline   Reply With Quote

Old   May 29, 2009, 18:22
Default
  #8
New Member
 
Mirko
Join Date: May 2009
Posts: 15
Rep Power: 16
painterwolf is on a distinguished road
Is there someone can show me I can run tutorial 17? The command cfx5mkext d0n't work.
painterwolf is offline   Reply With Quote

Old   July 14, 2009, 22:11
Thumbs up
  #9
Senior Member
 
Jack
Join Date: Mar 2009
Posts: 106
Rep Power: 16
rogbrito is an unknown quantity at this point
Files of this Tutorial:

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

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


Quote:
Originally Posted by painterwolf View Post
I'm studying tutorial 17 because I need fortran subroutine for another project. I have problem with theese steps:
  1. Type the following command in the Command Editor dialog box (make sure you do not miss the semi-colon at the end of the line):
  2. ! system (“cfx5mkext TStat_Control.F”) < 1 or die “cfx5mkext failed”;
    1. This is equivalent to executing the following at an OS command prompt:
    cfx5mkext TStat_Control.F
  • The ! indicates that the following line is to be interpreted as power syntax and not CCL. Everything after the ! symbol is processed as Perl commands.
  • system is a Perl function to execute a system command.
  • The < 1 or die will cause an error message to be returned if, for some reason, there is an error in processing the command.
  1. Click Process to compile the subroutine.
    Note

    You can use the -double option (i.e., cfx5mkext -double TStat_Control.F) to compile the subroutine for use with double precision ANSYS CFX-Solver executables.
A subdirectory will have been created in your working directory whose name is system dependent (e.g., on IRIX it is named irix). This sub directory contains the shared object library.

The problem is A subdirectory NO will have been created in your working directory

Which error I'm committing?
rogbrito is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial for subcooled nucleate boiling Asghari FLUENT 42 December 10, 2018 11:42
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 03:25
tutorial 6 in Fluent 6.2 tutorial and Mesh pilli4u FLUENT 2 April 2, 2007 05:09
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 09:41


All times are GMT -4. The time now is 10:26.