
European Courses
STAR-CCM+
STAR-CD
Advanced Meshing
Introduction to CFD
es-ice
Additional Course Descriptions
Advanced Modeling
E2P
Moving Mesh
STAR-CCM+ Macros
Spray & Combustion
STAR-Design
User Subroutines
es-ice
Already Trained?
Send us
your feedback
Training Centres
Americas
France
Germany
India
Italy
United
Kingdom
User Subroutines
Course Duration: 2 days
Course Schedule: To suit users requirements
Who
Should Attend
It is recommended that users who will be using these subroutines to implement
their own models, boundary conditions, etc, attend this course.
Course
Aims
The course is aimed at giving the User an understanding of how to set up a
model containing user subroutines. Hands-on experience is gained by the use
of worked examples. The course also offers the User the opportunity to discuss
the application of user subroutines to their cases with an experienced Engineer.
Course
Structure
The course structure is designed to take the User through the various stages
of setting up a case that uses these subroutines. Worked examples are used
throughout the course to give hands-on experience.
Course
Content
The content of the course, based on the above aims and structure, is as follows;
1) Introduction : This section introduces the concept of user
subroutines and why they form an important part of the functionality of STAR-CD.
2) What can they do : This section discusses
what user subroutines can do in terms of defining boundary
conditions, material properties, source terms, droplets
and extracting flow field data during the solution process.
3) How are they activated : This section
discusses the system command ufile, which is used to create
the ufile directory, and the PROSTAR User Subroutine panel.
It also discusses the activation of user subroutines using
either the GUI or the command line and their compilation
using the starlink command.
4) When are they called : This section
discusses when user subroutines are called and which subroutines
access/supply boundary and cell data. It also illustrates
the order in which they are called.
5) What is passed to them : This section
reviews the variables passed by the include file usrdat.inc
and cell mapping between STAR-CD and PROSTAR. It then discusses
the declaration of arrays and types which are passed to
the user subroutine.
6) What is returned by them : This section
defines which variables are passed in the user subroutine
argument list as arrays and as single values. It also discusses
the passing of information between subroutines and how
to store this information.
7) Special Topics : This section discusses
the setting up of these subroutines for parallel calculations
and using STAR-CD source common blocks to obtain other
data. It also covers programming style, skills and Fortran
77. Throughout the course worked examples are used to give
hands-on experience.
Course
Requirements
The User should have a good working knowledge of PROSTAR, STAR-CD and the Fortran
77 programming language.
