Zencrack Installation and Execution
Zencrack Installation and Execution
Zencrack Installation and Execution
The information in this document is subject to change without notice and Zentech International Ltd.
assumes no responsibility for any errors that may appear in this document.
The ZENCRACK software described in this document is furnished under license and may be used or
copied only in accordance with the terms of such license.
This version of the manual is for use with the latest software version indicated below and
may also be issued with subsequent software releases if updates are not required.
The Zencrack version and build date are shown in the banner at the start of the output file (i.e. the .rep
file). The Zencrack GUI version and build date are shown in the program Help > About menu.
Disclaimer
The Zencrack analysis program, the Zencrack GUI and Zencrack Plug-ins for Abaqus/CAE are proprietary
software products (Products) of Zentech International Ltd. (Zentech) and are offered under license for the
commercial use of its customers. Zentech reserves all rights and makes no warranty, expressed or implied, as
to the accuracy, validity or applicability of any results obtained through use of the Products; nor shall the fact
of distribution constitute any such warranty or responsibility in connection therewith.
Full terms and conditions governing the use of the Products are available at:
https://www.zentech.co.uk/download/license_agreement.pdf.
Zentech is continually improving the Products and welcomes suggestions and comments. Any error
encountered in the Products or documentation should be reported as soon as possible.
Abaqus is a trademark of Dassault Systèmes Simulia Corp. (SIMULIA), Providence, Rhode Island, U.S.A.
Web site: https://www.3ds.com/products-services/simulia.
Ansys is a trademark of SAS IP, Inc., a wholly owned subsidiary of Ansys Inc., Canonsburg, Pennsylvania,
U.S.A.
Web site: https://www.ansys.com.
NASTRAN is a registered trademark of the National Aeronautics and Space Administration. Simcenter
Nastran is an enhanced proprietary version developed and maintained by Siemens Product Lifecycle
Management Software Inc.
Web site: https://www.siemens.com.
Note: In this manual references to Simcenter Nastran should be read to include the still supported
earlier versions of NX Nastran 10.0, 11.0 and 12.0.
RLM is a license management system from Reprise Software, Inc., San Jose, U.S.A.
Web site: https://www.reprisesoftware.com.
Table of Contents
1. Introduction.............................................................................................................................................................. 4
1.1 License types ................................................................................................................................................. 4
1.2 Hardware requirements............................................................................................................................... 4
1.3 Software requirements ................................................................................................................................ 5
1.3.1 Finite element interfaces ....................................................................................................................... 5
1.3.2 Fortran compiler .................................................................................................................................... 5
1.3.3 License server ......................................................................................................................................... 6
1.3.4 Changes in software configurations .................................................................................................... 6
2. Installation - Zencrack Product ............................................................................................................................. 7
2.1 Windows........................................................................................................................................................ 7
2.1.1 To install the program files (Windows) .............................................................................................. 7
2.1.2 To un-install Zencrack (Windows) ..................................................................................................... 9
2.1.3 To install the documentation files (Windows) .................................................................................. 9
2.1.4 To un-install the documentation files (Windows) ..........................................................................10
2.1.5 Remote execution of the finite element code..................................................................................10
2.1.6 Possible issues.......................................................................................................................................10
2.1.6.1 Program Compatibility Assistant warning ...........................................................................10
2.1.6.2 Zencrack GUI fails to execute ...............................................................................................11
2.2 Linux ............................................................................................................................................................11
2.2.1 To install the program files (Linux) ..................................................................................................11
2.2.2 To un-install Zencrack (Linux) ..........................................................................................................12
2.2.3 To install the documentation files (Linux).......................................................................................12
2.2.4 To un-install the documentation files (Linux).................................................................................13
3. Installation - License Server .................................................................................................................................14
3.1 Windows......................................................................................................................................................14
3.2 Linux ............................................................................................................................................................15
4. Setup Of Zencrack Product After Installation .................................................................................................16
4.1 The zencrack.ini file...................................................................................................................................16
4.1.1 [ABAQUS] section ..............................................................................................................................17
4.1.2 [ANSYS] section ..................................................................................................................................18
4.1.3 [NXNASTRAN] section ....................................................................................................................19
4.1.4 [LICENSE] section .............................................................................................................................20
4.1.5 [FORTRAN_LINUX] section ..........................................................................................................20
4.1.6 [FORTRAN_WINDOWS] section ..................................................................................................21
4.1.7 [REMOTEFE] section........................................................................................................................21
4.1.8 [RUNTIME] section ...........................................................................................................................21
4.1.9 [MISC] section ......................................................................................................................................22
4.1.10 [SETUP] section ..................................................................................................................................22
4.2 The Zencrack GUI ....................................................................................................................................22
4.3 Using Zencrack user subroutines ............................................................................................................22
4.4 Configuring the plug-ins for Abaqus/CAE...........................................................................................24
5. Running Zencrack .................................................................................................................................................26
5.1 Command prompt setup in Windows ....................................................................................................26
5.2 Terminal window setup in Linux ............................................................................................................26
5.3 Execution using “runzcr90”.....................................................................................................................27
5.4 Examples of command line execution ...................................................................................................28
5.5 Killing a Zencrack job during execution ................................................................................................29
5.5.1 Windows ................................................................................................................................................29
5.5.2 Linux 29
6. Verifying An Installation ......................................................................................................................................30
7. Nodelocked and License Server (Network) Licensing ....................................................................................31
7.1 Information required to generate a license file .....................................................................................31
7.2 Nodelocked license file .............................................................................................................................31
7.3 Network License server ............................................................................................................................32
7.3.1 Configuring the license server............................................................................................................32
7.3.2 Starting the RLM server ......................................................................................................................33
Zentech International Limited 1
Zencrack - Installation And Execution Contents
List of Figures
Figure 2-1 – Program Compatibility Assistant warning (shown for Zencrack 8.0-1 on Windows 7) .................10
Figure 2-2 – Failure of execution of the Zencrack GUI on Windows 7 machine..................................................11
Figure 4-1 – Zencrack command prompt (Windows).................................................................................................23
Figure 4-2 – Plug-in access in Abaqus/CAE ................................................................................................................25
Figure 5-1 – Zencrack command prompt (Windows).................................................................................................26
Figure 7-1 – Typical license status screen after selecting “Status” from the left side menu .................................34
Figure 7-2 – Typical server license status after selecting “zentechint” from the Server Status of the main
status screen ............................................................................................................................................................35
Figure 7-3 – Typical server usage status ........................................................................................................................36
1. Introduction
This document describes installation, set-up and execution of Zencrack version 9.0-x for Windows
x86 and Linux x86 platforms. The document includes installation of the Zencrack analysis product
and GUI, and the RLM license server (which is required for network licensing). For sub-versions
9.0-2 onwards, any explicit references to 9.0-1 in this document should be read with 9.0-1 replaced
by the appropriate sub-version number. In some places a generic reference is made to version 9.0-x.
64bit versions of Zencrack 9.0 are available for x86 machines running 64bit Windows or Linux.
Documentation uses pdf files (Adobe Acrobat version 5) and requires a suitable reader. The native
Reader apps in Windows 8 and 10 that open pdf files do not allow use of cross-document links
such as those in the Zencrack documentation main page. An alternative such as Adobe Reader is
recommended instead. This can be downloaded from:
https://get.adobe.com/uk/reader
Up-to-date information on compatibility of different versions of the interfaced finite element codes
is maintained on the Zencrack section of the Zentech website:
https://www.zentech.co.uk/zencrack.htm
If Zencrack user subroutines are to be used then an appropriate version of the Intel Fortran
compiler must be installed. Up-to-date information on compatibility of compiler versions can also
be found on the Zentech website:
https://www.zentech.co.uk/zencrack_support_fortran.htm
For a nodelocked system the software (either Zencrack Standard or Zencrack Professional) can
only be executed on the machines(s) specified in the license file. The nodelocked method does not
require installation of a license server – only the placement of the supplied license file into the
license sub-folder of the Zencrack installation.
For network licensing, a license server must be installed on a specified machine. The license file
declares this machine as the license server and contains information about the licensed products.
All files required for the license manager are supplied by Zentech – there is no requirement to
download files from the Reprise website. The Zencrack product is then installed on one or more
client machines (one of which could be the server machine). When a Zencrack job is executed on a
client machine a request is made to the server to check out the required number of tokens for the
job. This manual covers the basics of installing, starting and using the RLM license server.
Additional information can be found in the RLM License Administration Manual supplied as part
of the license server installation and the Zencrack documentation.
The Zencrack analysis program is an “analysis engine” so there are no special hardware
requirements. Input and output to the analysis program is via ASCII text files.
The Zencrack GUI is available for Windows 64bit installations and allows reading, modification
and writing of Zencrack input files as well as display of finite element meshes and results data. It
requires OpenGL support on the graphics card.
The Zencrack plug-ins for Abaqus/CAE and Abaqus/Viewer have no special hardware
requirements beyond any requirements for running /CAE or /Viewer.
THE RLM license server and client installations are available for Windows 64bit machines or Linux
64bit machines.
It is generally expected that a machine on which Zencrack is to be installed already contains a local
installation of Abaqus, Ansys or Simcenter Nastran. During the Zencrack installation procedure a
setup program runs and requests user input about the f.e. version(s) to be used by Zencrack.
https://www.zentech.co.uk/zencrack_support_fortran.htm
If user subroutines are not used, there is no requirement to have an Intel Fortran Compiler
installed.
If there is uncertainty about the requirements for user subroutines at the time of
installation, it is recommended that the “no compiler” option is selected during the
installation setup process. This can be changed at a later date by re-running the setup
program.
Each installation of Zencrack contains a readme.txt file in its top-level directory that provides
details of the operating system and compiler used to create that version of the software. If you have
an earlier compiler version, you may need to upgrade to at least the compiler version used to create
Zencrack, or have the necessary run-time files in place.
2.1 Windows
The Zencrack product is supplied as two files:
Zencrack_9-0-x_Windows-64.exe
setup program containing the analysis program files and GUI.
Zencrack_9-0-x_Windows-doc.exe
setup program containing the documentation files.
The default program installation location is c:\Zencrack\9.0-x but this may be changed if required.
Please note that:
• The user installing the program must have sufficient privilege to create files in the chosen
installation location.
• If multiple user accounts exist on the machine, any desktop shortcuts or Start Menu / Apps
Page shortcuts are installed for the current user only.
As part of the program installation, a setup program is run to complete the configuration of the f.e.
interface(s) and Fortran. This setup program runs in a command prompt/terminal window and
searches for f.e. and Intel Fortran Compiler for oneAPI versions in default locations. If no suitable
versions are found, options are provided to widen the search.
The documentation can be installed before or after installation of the program. It is recommended
that the documentation be installed into a sub-directory of the main Zencrack folder. For this
reason the default documentation location is c:\Zencrack\9.0-x_document.
It is generally not recommended to run analyses or create any other files within the Zencrack
installation directories. If this is done, such files will be left behind by the uninstaller when the
program is uninstalled.
If no desktop shortcut was selected at step 6 but a shortcut is desired at a later date, the following
procedure can be used:
1 The nodelocked license file is supplied separately from the program installation files. See section 7.
Zentech International Limited 8
Zencrack - Installation And Execution Installation - Zencrack Product
If the shortcuts do not display with these icons, a re-boot may be necessary.
Note: the configuration program detailed in step 5 above must be run at least once, either during
the installation process or directly as described in step 7.
1. By selecting Zencrack 9.0-x from the standard Windows “Uninstall a program / app” in
the appropriate section of Control Panel or Settings. This is the recommended method.
2. By double-clicking the uninstall_9-0-x.exe file in the installation home directory.
If an uninstaller was not created during the install process, the following procedure can be used to
manually remove the installation:
1. Delete files under the installation directory, e.g. c:\Zencrack\9.0-x in the above example,
making sure to first backup any analysis files that may have been located there. It is not
recommended to run analyses or create any other files within the Zencrack installation
directories.
2. Delete any desktop shortcuts that were created.
If no desktop shortcut was selected at step 3 but a shortcut is desired at a later date, the following
procedure can be used:
If an uninstaller was not created during the install process, the following procedure can be used to
manually remove the installation:
Figure 2-1 – Program Compatibility Assistant warning (shown for Zencrack 8.0-1 on Windows 7)
If this occurs, you may safely click on "This program installed correctly" or "Cancel":
• If you click on "This program installed correctly", Windows will create a registry entry to
prevent this warning if you re-run the installer at a later date.
• If you click on "Cancel", Windows will not make any entry in the registry regarding this warning.
This is the recommended option.
2.2 Linux
The Zencrack product is supplied as two files:
Zencrack_9-0-x_Linux_64.exe
setup program containing the program files
Zencrack_9-0-x_Linux-doc.exe
setup program containing the documentation files
The default program installation location is /home/Zencrack/9.0-x where /home is the home
directory for the user installing the program. This may be changed if required. The user installing
the program must have sufficient privilege to create files in the chosen location.
As part of the program installation, a setup program is run to configure the installation. During this
configuration process the choice is made regarding location of finite element code(s), the Fortran
environment and the licensing type.
The documentation can be installed before or after installation of the program. It is recommended
that the documentation be installed into a sub-directory “document” of the main Zencrack
installation.
It is generally not recommended to run analyses or create any other files within the Zencrack
installation directories. If this is done, such files will be left behind by the uninstaller when the
program is uninstalled.
The installation process creates a soft link runzcr90x which can be used to execute Zencrack jobs
from a terminal window.
To manually delete the installation, delete files under the installation directory, i.e.
/home/Zencrack/9.0-x in the above example, making sure to first backup any analysis files that
may have been located there. It is not recommended to run analyses or create any other files within
the Zencrack installation directories.
2 The nodelocked license file is supplied separately from the program installation files. See section 7.
Zentech International Limited 12
Zencrack - Installation And Execution Installation - Zencrack Product
To manually delete the installation, delete files under the installation directory, i.e.
/home/Zencrack/9.0-x_document in the above example.
The RLM license server is available for Windows x86-64 and Linux x86-64 machines. The client
(i.e. Zencrack product) installations may be on any Windows x86-64, or Linux x86-64 machines
with network access to the server.
The extraction and installation of the license server files is described below. For further information
on configuring the license server and monitoring license usage, refer to section 7.3 and the RLM
License Administration Manual.
The RLM License Administration Manual contains information that is oriented towards the person
who installs and administers RLM. In general, as a Zencrack end-user, you should not need to refer
to this manual. The RLM License Administration Manual is supplied as part of the Zencrack
documentation and with the RLM license server install files. Note that:
• Some topics in the RLM License Administration Manual are not relevant to the licensing of
Zencrack.
• The RLM version used by Zencrack 9.0 is v14.
3.1 Windows
The RLM files are supplied in one setup file, Zencrack_RLMv14_Windows.exe. The file contains
64bit versions of the license server:
If Windows UAC (User Account Control) is running on the installation machine, there may be
additional system messages generated when installing from these files.
The license file is provided separately and can be placed in any location. However, the
configuration is simpler if the license file is located in the same folder as the installed server
binaries.
3.2 Linux
The RLM files are supplied in one setup file, Zencrack_RLMv14_Linux-64.exe. The file contains
64bit versions of the license server:
The license file is provided separately and can be placed in any location. However, the
configuration is simpler if the license file is located in the same folder as the installed server
binaries.
Note that the programs rlm, rlmutil and machine_id.exe should be run from within a terminal
window.
The execution of the setup program during or after the installation process configures the variables
highlighted in red in the following sections. The other variables described in the following sections
must be configured by editing the zencrack.ini file.
The setup program can be re-run at any time to update the highlighted variables in the following
sections by using the command:
Re-running the setup program and saving any values will create a new zencrack.ini file. Existing
settings will either be retained or modified, depending upon the choices made when running the
program. A backup of any existing zencrack.ini file is made before a new .ini file is created.
[LICENSE]
#
# Two licensing methods are available:
# network - Network licensing using RLM license server
# nodelocked - Nodelocked licensing using RLM license file
#
# The variable ZENCRACK_LICENSE defines the licensing method being used and
# should be set to NETWORK or NODELOCKED e.g.:
# ZENCRACK_LICENSE = NETWORK
# Additional information is contained in the following sections.
#
ZENCRACK_LICENSE = NETWORK
#
# Settings for network licensing using RLM license server
# #######################################################
#
# ZENCRACK_RLM_SERVER must be set to reference the license server machine.
# This can be done through a port number and IP address or a port number
# and machine name e.g.
# ZENCRACK_RLM_SERVER = [email protected]
# ZENCRACK_RLM_SERVER = 2764@SERVERNAME
#
ZENCRACK_RLM_SERVER = 2764@localhost
#
# The value of ZENCRACK_WAIT is the number of minutes that a job should wait
# in a queue to obtain license tokens if the tokens are being used by another
# job. The maximum allowed value is 9999 minutes. A value of 0 means that a
# job will stop immediately if no license tokens are available.
#
ZENCRACK_WAIT = 30
#
ZCR_ABAQUS_VER the Abaqus version which may optionally include the sub-
version, e.g. 6.12-1, 2018, 2022.
For version 2016 onwards the inclusion of Golden or
Hotfix details are optional. They can be specified with
“Golden” or “HotFix n” included. For example:
2018 Golden.
2018 HotFix 1 for Abaqus 3DEXPERIENCE R2018x
HotFix 1 (FP1806).
Only the main version is included by the Zencrack setup
program so the optional addition of Golden or HotFix
versions must be specified by editing the zencrack.ini file.
The [ABAQUS] section defines the default Abaqus version to be used by Zencrack. If it is required
to configure Zencrack for possible use with multiple Abaqus versions, then one or more additional
Abaqus sections can be defined in the .ini file. Such additional sections must be named
[ABAQUSXXX] where XXX represents a user chosen character string (e.g. an Abaqus version). All
four of the variables named above must be defined in the [ABAQUSXXX] section even if they
have the same value as the variables in the [ABAQUS] section.
To run a Zencrack job using a non-default Abaqus version the “-abaqus” option is used on the
Zencrack command line followed by the value of the XXX string. The Zencrack GUI does not
currently support the alternative Abaqus sections and always uses the default section.
The example below shows a case where Abaqus 2022 is the default version and Abaqus 6.14-1 is an
alternative version.
[ABAQUS]
ZCR_ABAQUS = C:\SIMULIA\EstProducts\2022\win_b64\code\bin\smalauncher.exe
ZCR_ABAQUS_VER = 2022
ZCR_ABAQUS_OPTIONS = interactive cpus=4
ZCR_ABAQUS_SURFACE = none
#
[ABAQUS614]
ZCR_ABAQUS = c:\simulia\abaqus\6.14-1\exec\abq6141.exe
ZCR_ABAQUS_VER = 6.14-1
ZCR_ABAQUS_OPTIONS = interactive cpus=4
ZCR_ABAQUS_SURFACE = none
To run Zencrack with Abaqus 6.14 instead of the default version 2022:
ZCR_ANSYS the full location of the file ansys.exe provided as part of the
Ansys program installation and used to run Ansys. To use a
non-default Ansys product, ensure that “-p productname”
is included in the definition of ZCR_ANSYS_OPTIONS
(see below).
ZCR_ANSYS_VER the Ansys version must include the sub-version and, for
version 11.0, any service pack number, e.g. 11.0SP1, 16.0,
17.2, 19.0.
For versions since the “20XX Rx” naming convention the
value required is the numeric equivalent as derived from the
folder path for the version e.g. 19.4 for 2019R2, 21.2 for
2021 R2 etc.
ZCR_ANSYS_OPTIONS defines command line options for running Ansys. This may
include, for example, the number of processors used to run
Ansys jobs or a specific Ansys licensed product, e.g.:
ZCR_ANSYS_OPTIONS =-np 4 -p prf.
ZCR_ANSYS_CNV defines the default type of Ansys uncracked mesh file. The
default is “automatic” for automatic determination of the
type as normal or solid model. The other allowed values are
“normal” or “solidmodel”. This setting is overridden for
individual jobs by the “-a” command line option. It is
recommended that the value “automatic” be used.
The [ANSYS] section defines the default Ansys version to be used by Zencrack. If it is required to
configure Zencrack for possible use with multiple Ansys versions, then one or more additional
Ansys sections can be defined in the .ini file. Such additional sections must be named
[ANSYSXXX] where XXX represents a user chosen character string (e.g. an Ansys version). All
four of the variables named above must be defined in the [ANSYSXXX] section even if they have
the same value as the variables in the [ANSYS] section.
To run a Zencrack job using a non-default Ansys version the “-ansys” option is used on the
Zencrack command line followed by the value of the XXX string. The Zencrack GUI does not
currently support the alternative Ansys sections and always uses the default section.
The example below shows a case where Ansys 2022 R1 is the default version and Ansys 2019 R2
and Ansys 14.5 are configured as alternative versions:
ZCR_ANSYS_CNV = AUTOMATIC
#
[ANSYS2019R2]
ZCR_ANSYS = C:\Program Files\ANSYS Inc\v194\ansys\bin\winx64\ansys194.exe
ZCR_ANSYS_VER = 19.4
ZCR_ANSYS_OPTIONS = -np 2
ZCR_ANSYS_CNV = AUTOMATIC
#
[ANSYS145]
ZCR_ANSYS = C:\Program Files\ANSYS Inc\v145\ansys\bin\winx64\ansys145.exe
ZCR_ANSYS_VER = 14.5
ZCR_ANSYS_OPTIONS = -np 2
ZCR_ANSYS_CNV = AUTOMATIC
To run Zencrack with Ansys 14.5 instead of the default version 2022 R1:
ZCR_NXNASTRAN _VER the Simcenter Nastran version. Only version 10.0 and later
are supported by Zencrack.
Refer to the zencrack.ini file for examples of stand-alone or
NX, Simcenter3D and Femap package installations.
The [NXNASTRAN] section defines the default Simcenter Nastran version to be used by
Zencrack. If it is required to configure Zencrack for possible use with multiple Simcenter Nastran
versions, then one or more additional NXNastran sections can be defined in the .ini file. Such
additional sections must be named [NXNASTRANXXX] where XXX represents a user chosen
character string (e.g. a Simcenter Nastran version). All four of the variables named above must be
defined in the [NXNASTRANXXX] section even if they have the same value as the variables in the
[NXNASTRAN] section.
To run a Zencrack job using a non-default Simcenter Nastran version the “-nxnastran” option is
used on the Zencrack command line followed by the value of the XXX string. The Zencrack GUI
does not currently support the alternative Simcenter Nastran sections and always uses the default
section.
The example below shows a case where a stand-alone Simcenter Nastran 2021.2 installation is the
default version and Simcenter Nastran 2022.1 is an alternative version available as part of an
NX2007 installation:
To run Zencrack with the Simcenter Nastran 2022.1 version instead of the default version 2021.2:
ZENCRACK_RLM_SERVER the location of the RLM license server specified in the form
port@IPaddress if network licensing is being used. The
port number is stated in the license file on the license
server. The IP address is the LAN address of the server
machine. This variable does not need to be defined for
nodelocked licenses.
ZCR_FORTRAN This variable defines the command used to initialise the Fortran
compiler.
ZCR_FORTRANSTRING This string defines the system command to invoke the Fortran
compiler. On installation this is “ifort”.
ZCR_FORTRAN This variable defines the location of the setvars.bat file for initialising
the Fortran compiler.
ZCR_FORTRANSTRING This string defines the system command to invoke the Fortran
compiler. On installation this is “ifort /traceback”.
ZCR_OVERWRITE Defines whether or not previous output files are overwritten when a
job runs. Value “no” is set at installation, i.e. if a job identifies that
previous output files exist it will abort without overwriting the
existing files. This can be changed to “yes”.
All jobs executed from the Zencrack GUI use “-o yes” regardless of
the value of ZCR_OVERWRITE.
ZCR_FE_TYPE Value “input” is set at installation meaning “use the f.e. analysis type
defined on the OPTIONS keyword of the .zcr file”. This default
value in the .ini file should not generally be changed – use the “-f”
command line option for individual jobs instead. The values for
ZCR_FE_TYPE and the “-f” command line options are:
= input to follow the definition in the .zcr file
= mesh to force a mesh-only analysis (no f.e. execution)
= check to force a datacheck f.e. analysis
= full to force a full f.e. analysis
ZCR_DEFAULTOUT Defines the default string applied to the input zcr filename to
generate the output filenames when the OUTPUT parameter is
omitted from the FILES keyword. The default is “r”. For example:
if DEFAULTOUT = _crack
and the zcr file is example.zcr
then the output files are example_crack.* (e.g. example_crack.rep)
VERSIONname = 9.0-1
RUNZCRFILE = runzcr90.exe
FILEPATH = zcrpath901.bat
EXESTEM = zcr90
HELPFILE = help_command_line.txt
A separate zencrack_gui.ini file exists in the gui folder of the Zencrack installation to allow control
over certain aspect of the GUI behaviour. This file is described in the Zencrack GUI Manual.
• When the Zencrack setup program is executed it requests details of the required Fortran
environment. Upon completion of the setup a file zcrpath90x.bat is created in the Zencrack
tools folder. This file contains an initialisation for Fortran. This should not need to be modified
by the user.
• When the Zencrack shortcut is used to start a Zencrack command prompt session, the
zcrpath90x.bat file is used to configure the command prompt window. The title bar of the
command prompt window includes details of the Fortran environment and the initialisation of
the Fortran compiler is reported in the window, e.g.:
• The zencrack.ini file contains a variable called ZCR_FORTRANSTRING which is set to the
default string to execute for the target system, e.g. ifort
• If you use a non-standard command line name to execute your Fortran compiler, you should
change this variable.
• When a job is executed that requires a Zencrack user subroutine, the Fortran environment must
be configured in the terminal window from which the job is executed in addition to defining the
variable ZCR_FORTRANSTRING, e.g. for Linux with Intel Fortran for oneAPI 21.1.1:
source /opt/intel/oneapi/compiler/21.1.1
runzcr90x –j myjob –u myusersub.f
If a Zencrack user subroutine is used and the compilation and linking process is successful, the
newly created executable is saved in the job folder. On both Windows and Linux the file is
zcr90_user.exe. This executable can be used for subsequent jobs via the –e command line option.
On Linux the specification of the executable in a local folder requires a “./” before the executable
name e.g.:
The Abaqus/CAE plug-ins are available on all platforms on which Zencrack is supported. They
require Abaqus version 6.8 or later. The plug-ins will report an error if they are executed within an
earlier version of Abaqus. Compatibility with Abaqus versions later than Abaqus 2022 cannot be
guaranteed.
Due to changes in the Python version between Abaqus 6.9/6.10 and 6.13/6.14 there are three sets
of files provided with each installation – one for Abaqus 6.8-6.9, one for Abaqus 6.10-6.13 and one
for Abaqus 6.14 or later. (In these version descriptions, 6.x also includes 6.x-EF).
The plug-in files are installed with the Zencrack product and need to be copied into the Abaqus
environment. The Zencrack installation contains a folder fe_abaqus with sub-folders:
There are a number of options available for configuring Abaqus plug-ins so each user should
consult their Abaqus administrator and/or the relevant section of the Abaqus/CAE User’s Manual.
However, the following summarises the options that are available.
When Abaqus/CAE starts it searches for plug-in files in a number of locations. Suggested possible
locations for the Zencrack plug-ins are:
• abaqus_dir\abaqus_plugins, where abaqus_dir is the Abaqus parent directory. Simply copy the
entire zencrackplugins_xx folder into the abaqus_dir\abaqus_plugins folder (for example
creating abaqus_dir\abaqus_plugins\zencrackplugins_xx). This is the easiest method.
• Define plugin_dir, where plugin_dir is a directory specified in the Abaqus environment file by the
environment variable plugin_central_dir. Using this method you can store plug-ins in a central
location that can be accessed by all users at your site if the directory to which plugin_central_dir
refers is mounted on a file system that all users can access. Alternatively if the only additional
Abaqus plug-ins that you are using are the Zencrack plug-ins you can set this variable to point
to the zencrackplugins folder in the Zencrack installation, e.g.:
plugin_central_dir =
"c:\\Zencrack\\9.0-x\\fe_abaqus\\zencrackplugins_6-10_6-13"
Once configured the plug-in is available from the Abaqus plug-ins menu and appears as an
additional tab named ‘Zencrack’ as shown in Figure 4-2. For more information on the plug-in refer
to the Interface To Abaqus Manual.
5. Running Zencrack
Zencrack is executed using the runzcr90 executable located in the tools directory of the Zencrack
installation. This section describes the execution options in detail.
When using the Zencrack GUI, an analysis can be started from the Run Zencrack drop-down
menu. The screen input collects the necessary information to run the job, starts a command prompt
session and runs the jobs. Refer to the GUI Manual for more information.
The Zencrack shortcut starts a command prompt session that is set up to execute Zencrack. The
session is created with a PATH that includes the Zencrack .\tools directory. The session is also set
up for Fortran if it is installed, e.g.:
Note that to allow sub-versions to be installed, the default command used to run Zencrack on
Linux includes the sub-version number i.e. runzcr901 for version 9.0-1, runzcr902 for version 9.0-2
etc.
There are seven command line options for the script that can be used in combination and five
“stand-alone” options:
-j job -u user -e exe -o overwrite -f fetype -r remote -fe fecmdline -a ansyscnv -abaqus ver -ansys
ver -ini file
where :
-fe fecmdline fecmdline is a string of options for the f.e. analysis command line in addition
to options defined in the zencrack.ini file by ZCR_ABAQUS_OPTIONS,
ZCR_ANSYS_OPTIONS or ZCR_NXNASTRAN_OPTIONS.
-abaqus ver ver defines the section in the .ini file to be used to define the Abaqus version.
The default is to use settings in section [ABAQUS]. This option looks for
settings in [ABAQUSver]. ver would be expected to be an Abaqus version
number e.g.
-abaqus 2020 would extract information from section [ABAQUS2020].
-ansys ver ver defines the section in the .ini file to be used to define the Ansys version.
The default is to use settings in section [ANSYS]. This option looks for settings
in [ANSYSver]. ver would be expected to be an Ansys version number e.g.
-ansys 2019R1 would extract information from section [ANSYS2019R1].
-nxnastran ver ver defines the section in the .ini file to be used to define the Simcenter Nastran
version. The default is to use settings in section [NXNASTRAN]. This option
looks for settings in [NXNASTRANver]. ver would be expected to be a
Simcenter Nastran version number e.g.
-nxnastran 2021 would extract information from section [NXNASTRAN2021].
-ini file file defines the .ini file to be used in place of the zencrack.ini file.
If the .ini file is not in the current folder, a full path must be given.
setup to run the Zencrack setup program (to configure some items in zencrack.ini)
gui to run the Zencrack GUI (Windows only)
3dmesh to run utility 3dmesh
process to run utility process
rainflow filename to run utility rainflow with an input file called filename
tanh filename to run utility tanh with an input file called filename
help to view help/configuration information
A number of screen messages are generated when the runzcr90 command is executed. These show
some of the options that are set for the job. For example, for the job n01a described in section 6
executed with a network license the following is seen under Windows (with similar for Linux):
C:\Zencrack\9.0-1\demos\ansys\verify>runzcr90 -j n01a
ZENCRACK 9.0-1
--------------
Job : n01a.zcr
Time : 21-07-2021 09:06:26
runzcr90 -j example
Run job example.
runzcr90 3dmesh
Run utility program 3dmesh
runzcr90 process
Run utility program process
5.5.1 Windows
A finite element analysis is best terminated via Task Manager. In the Start/Run box in Windows 7
or the Search box in Windows 8 or 10 enter Task Manager and start the task manager by selecting
from the resulting list of options. On the Processes tab of Task Manager identify the finite element
executable job that is running as part of the Zencrack process, select that row and click on “End
task”.
5.5.2 Linux
From a terminal window enter “ps aux” to list running processes. Identify the process id number
for the finite element executable. Issue the command “kill xxxx” where xxxx is the process id
number.
6. Verifying An Installation
Once the program is ready for execution, the supplied examples in the <crack-block><fe
interface>\verify sub-directory of the demos program directory can be executed to verify the
installation. These examples are based on the ex01 files described in section 2 of the Examples
Manual. It is recommended that all example files are copied to a new location before being
executed, thus ensuring that a virgin copy of the files is retained in the Zencrack directory. The
following is suggested after copying the files to a new location:
Windows users should start a Zencrack command prompt window by double-clicking the
“Zencrack” shortcut icon.
Change to the directory containing the example files (e.g. <user location of installed
files>\demos\<crack-block>\<fe interface>\verify).
Run job:
To confirm that the analysis completes successfully, check the a01ar.rep, n01ar.rep or x01ar.rep
output file. The banner at the top of the file should correctly identify the customer and license
details from the license file. At the end of the output file there should be a message:
• Run an initial crack analysis to confirm that the f.e. interface is set up correctly:
Run:
To confirm that the analysis completes successfully, check the a01cr.rep, n01cr.rep or x01cr.rep
output file. The banner at the top of the file should correctly identify the customer and license
details from the license file. At the end of the output file there should be a message:
or,
• for network licensing, the machine (server) on which the license manager will run
The program requests identification of the organisation to be licensed, contact details, which finite
element interfaces are required and what licensing method is to be used. Upon completion a file
called zencrack.txt is generated which should be sent to Zentech for creation of the license file. The
file should not be edited so, if corrections are necessary, the machine_id program should be re-
executed.
Note - a Zencrack Professional license also permits Zencrack Standard jobs to be run.
The license file supplied for use with the license server is valid to run only on the specified server
machine and is configured with a number of “tokens” and a list of licensed finite element
interfaces. When a Zencrack job is executed on a client machine, a request is made to the server to
check out the required number of tokens for the job:
In addition the finite element interface for the job is checked against the licensed finite element
interfaces. If the interface is allowed and sufficient tokens are available the job executes. If tokens
have been taken by another job that is still executing the job waits and re-checks for available
tokens every 10 seconds. If, after a user specified time, the tokens are still unavailable the job exits.
The supplied files are installed as described in section 3. It is recommended that the license file be
installed in the same folder as the RLM license server files.
If this is not done the license server can simply be started by executing the rlm command in the
license server folder (provided that the license file is in the same folder):
Example:
This installs RLM as a service under the name "rlm-zencrack". When started via the Services
control panel or at boot time, RLM will be passed the "-c c:\Zencrack\rlm_v14\yourlicense.lic"
arguments, and it will write debug log information to the file c:\Zencrack\rlm_v14\rlm-
zencrack.log. Note: if no "-c" argument is given, the RLM program will read all licence files (.lic)
present in the RLM installation directory.
The full set of options for the rlm –install_service command are:
where logfile is the pathname for the server debug log. This parameter is required. If
preceded by the '+' character, the logfile will be appended, rather than created.
sname is an optional name for the installed service. If not specified, sname defaults to
"rlm". If sname contains embedded whitespace, it must be enclosed in double
quotes.
<rlm runtime args> are any other command line arguments to be passed to rlm when it is started.
The server status can be checked from the command line using:
rlmutil rlmstat
Alternatively the browser-based utility described in section 7.3.3 may be used to monitor the license
server.
If it is required to remove the service it is necessary to first stop the service via Control Panel >
Administrative tools > Service. Then from the command line:
7.3.2.2 Starting the RLM server at system boot time on Linux systems
On most Unix and Linux systems, system services are started at boot time, usually via startup
scripts located in /etc/rc.<something>. For further information and a sample script that defines
the necessary RLM variables please refer to the RLM License Administration Manual.
The web server is started automatically on port 5054 when rlm is started. To use the web server,
simply point your browser to: http://ServerHostName:5054 (or use the server network IP address,
e.g. http://192.168.3.4:5054) and select the operation you would like to perform. You will be
prompted for any required information. Typical status screens are shown in Figure 7-1 and Figure
7-2.
For further information please refer to the RLM License Administration Manual.
Figure 7-1 – Typical license status screen after selecting “Status” from the left side menu
Figure 7-2 – Typical server license status after selecting “zentechint” from the Server Status of the
main status screen
The HOST line specifies the license server machine (by ethernet address) and includes the port
through which clients can access the license server.
The ISV line specifies that the license server information is for ISV “zentechint”.
The LICENSE lines describe license grants from Zentech International to the end-user. All license
files (except evaluation licenses) contain a license grant for product “zencrack”. This specifies the
total number of license tokens available, the license expiry date and includes details about the
customer (e.g. company name, address, etc). Other parameters (e.g. a license start date) may also be
included. One or more additional license lines are present depending upon the licensed finite
element interfaces. A sample license file is shown in section 7.3.
Zencrack configuration is contained in a file zencrack.ini as described in section 4.1. Three variables
are defined in this files for use with the license server:
ZENCRACK_LICENSE
This variable is set to NETWORK to indicate that a network license server should be used.
ZENCRACK_RLM_SERVER
This variable specifies the license server machine using the syntax port@Ipaddress. The port
number is contained in the license file installed on the license server. The IP address is the LAN
address of the license server machine. For example, if the license server is machine 192.168.1.10:
ZENCRACK_RLM_SERVER = [email protected]
In the special case that the license server and the client machine are the same machine, the special
“localhost” name may be used without the need to use the actual machine name or IP address i.e.
2764@localhost.
ZENCRACK_WAIT
This variable defines the number of minutes that a job should wait for license tokens to become
available if they are in use by another job. The availability of tokens is checked every 10 seconds
while the job is waiting.
ZENCRACK_WAIT = 30
This option is not the same as a strict queue option available with license managers. If several jobs
are in a “wait” state at the same time the first job to continue execution is the first one to check for
license tokens when they become available rather than the first job that reached a wait condition.
Note - the RLM end user environment variable for queuing (RLM_Queue) must not be set as this
option is not supported within Zencrack.
The capability utilises the plink.exe [Ref. 5], T4eRexec.exe or T4eSSH.exe executables [Ref. 6] to
establish the remote connection. T4eRexec is a utility that is similar to the Windows REXEC
command except that it allows a password as input. To run commands on a Rexec compatible
operating system, such as Linux, the Rexec daemon has to be running on the target system. Note
that passwords are transmitted in clear text. A more secure option is the plink or T4eSSH utility.
These are secure implementations of the SSH protocol to allow access to a UNIX/Linux operating
system. The plink.exe, T4eRexec.exe and T4eSSH.exe files are supplied with Zencrack in the utils
folder of the Zencrack installation and should not be moved from that folder. In addition, the full
PuTTY.zip file, of which plink.exe is a part, is also included.
The three utilities plink, T4eRexec and T4eSSH are provided for convenience – only one needs to
be selected and used when configuring the remote f.e. capability.
Note that passwords for access to the remote machine are set up in clear text in the runzcr78.bat
file.
It is necessary to ensure that any firewalls allow the necessary communication between the local and
remote machines. On the local machine plink.exe, T4eRexec.exe or T4eSSH.exe and the FTP
daemon must be able to communicate with the remote machine. The Rexec protocol must be
enabled on the target machine if using T4eRexec. The FTP daemon must also be running on the
remote machine. Please consult your system documentation for information on these processes.
8.1 Configuration
Zencrack should be installed on the target Windows machine and the setup program run in the
usual way (see section 2.1). If there is to be a local f.e. capability in addition to the remote f.e.
capability, it is suggested that the installation is verified before commencing with the remote f.e.
configuration.
Zencrack is configured via the zencrack.ini file in the program tools folder. This file must be edited
(e.g. using Notepad) to configure the remote f.e. execution. The as-installed file contains the
following section:
[REMOTEFE]
#
# Items for remote f.e. execution.
#
# These options define variables required to run the f.e. analysis on a remote
# computer. ZCR_REMOTE_FE can be modified on the command line by the -r
option.
#
ZCR_REMOTE_FE = no
#
ZCR_ABAQUS_REMOTE =
ZCR_ABAQUS_VER_REMOTE =
ZCR_ANSYS_REMOTE =
ZCR_ANSYS_VER_REMOTE =
ZCR_NXNASTRAN_REMOTE =
ZCR_NXNASTRAN_VER_REMOTE =
ZCR_LOGIN_UTIL =
ZCR_LOGIN_NAME =
ZCR_LOGIN_PWD =
ZCR_LOGIN_PATH =
ZCR_LOGIN_IP =
ZCR_LOGIN_SHELL =
ZCR_LOGIN_SCRIPT =
ZCR_LOGIN_EXTRA =
Some of these items must be set and others may be left blank, depending upon the f.e. interface
and options required for the chosen remote execution utility. The items are described below.
ZCR_REMOTE_FE This item defines the default status for f.e. execution. If it is
set to “no”, then by default all f.e. jobs will be executed on
the local machine. If it is set to “yes”, then by default all f.e.
jobs will be executed on the remote machine.
This option can be overridden for an individual Zencrack
analysis by using the –r command line option, which has
values yes or no. For example, if ZCR_REMOTE_FE is
set to “no” but it is required to run a specific job with
remote f.e. execution, the command line would be:
runzcr90 –j jobname –r yes
LOGINNAME This is the user name that is used to log into the remote
machine.
LOGINPATH This is the path on the remote machine into which all
analysis files will be placed. The remote f.e. analysis will be
executed in this directory. This item should include the
trailing / on the path definition. The path can be a full path
or a relative path in which case it is relative to the home
directory for user LOGINNAME.
LOGINSHELL By default (if this item is blank) Zencrack uses the ksh shell
when executing the script file that runs the finite element
analysis on the remote machine. An alternative script, e.g.
bash, can be set using this variable.
LOGINEXTRA This item defines any additional command line options that
should be used with the chosen plink, T4eRexec or
T4eSSH utility.
Notes for T4eRexec or T4eSSH:
• A timeout should be defined by including “-a 9999” in
LOGINEXTRA. This defines a timeout period of 9999
seconds during which a remote session command
remains active if there is no response from the remote
machine. See section 8.2 for more information regarding
the timeout period.
• In some cases the “-A password” option may need to be
included when the T4eSSH utility is being used. (This
“–A password” option contains the word password
rather than any user or system password). This option
defines the authentication method.
Notes for plink:
• The first time that the utility is used on the local
machine, the user may be prompted to save a key for
the remote machine in the PuTTY cache. Replying yes
A sample configuration for remote execution of Abaqus and Ansys using T4eSSH may be:
ZCR_ABAQUS_REMOTE = /usr/SIMULIA/EstProducts/2020/linux_a64/code/bin/ABQLauncher
ZCR_ABAQUS_VER_REMOTE = 2020
ZCR_ANSYS_REMOTE = /ansys_inc/v211/ansys/bin/ansys211
ZCR_ANSYS_VER_REMOTE = 21.1
ZCR_NXNASTRAN_REMOTE = /home/nxnastran/x86_64linuxl/nastran
ZCR_NXNASTRAN_VER_REMOTE = 10.0
ZCR_LOGIN_UTIL = t4essh
ZCR_LOGIN_NAME = myusername
ZCR_LOGIN_PWD = mypassword
ZCR_LOGIN_PATH = /usr/test_remote/
ZCR_LOGIN_IP = 192.168.1.15
ZCR_LOGIN_SHELL = bash
ZCR_LOGIN_SCRIPT =
ZCR_LOGIN_EXTRA = -a 9999 -A password
A sample configuration for remote execution of Abaqus and Ansys using plink may be:
ZCR_ABAQUS_REMOTE = /usr/SIMULIA/EstProducts/2020/linux_a64/code/bin/ABQLauncher
ZCR_ABAQUS_VER_REMOTE = 2020
ZCR_ANSYS_REMOTE = /ansys_inc/v211/ansys/bin/ansys211
ZCR_ANSYS_VER_REMOTE = 21.1
ZCR_NXNASTRAN_REMOTE = /home/nxnastran/x86_64linuxl/nastran
ZCR_NXNASTRAN_VER_REMOTE = 10.0
ZCR_LOGIN_UTIL = plink
ZCR_LOGIN_NAME = myusername
ZCR_LOGIN_PWD = mypassword
ZCR_LOGIN_PATH = /usr/test_remote/
ZCR_LOGIN_IP = 192.168.1.15
ZCR_LOGIN_SHELL = bash
ZCR_LOGIN_SCRIPT =
ZCR_LOGIN_EXTRA =
When a command is executed on the remote machine using T4eRexec or T4eSSH, the local
machine has a timeout period in which it expects some response from the remote machine. If there
is no response within the timeout period the execution will stop and the following error is reported
to the screen:
The LOGINEXTRA option should include parameter “-a 9999” to set the timeout period to the
maximum allowed value of 9999 seconds i.e.:
ZCR_LOGIN_EXTRA = -a 9999
During the solution phase of the finite element analysis on the remote machine there is a period of
no response. If the solution phase exceeds the timeout setting then the command will time out and
the Zencrack analysis will fail. The timeout period therefore sets an upper limit on the elapsed
duration of a phase of the finite element analysis. For Abaqus, for example, the pre.exe and
standard.exe phases are separate and each may run for an elapsed time of up to the defined timeout
period.
For Abaqus analyses which exceed 9999 seconds elapsed runtime but which have increments less
than 9999 seconds, a solution to prevent the timeout is to include a simple Abaqus urdfil
subroutine which writes to the screen upon completion of every increment:
subroutine urdfil(lstop,lovrwrt,kstep,kinc,dtime,time)
include 'aba_param.inc'
character*8 crray(513),nset
dimension array(513),jrray(nprecd,513),time(2)
equivalence (array(1),jrray(1,1))
equivalence (crray(1),jrray(1,1))
write(*,10) kstep,kinc,time(2)
10 format('Processing .fil file: step ',i4,' increment ',i4,
& ' : total time ',1pe14.8)
return
end
At least one request for data to be written to the .fil file should be made in the uncracked mesh (i.e.
*NODE FILE or *EL FILE with FREQ=1 in step 1). The subroutine is referenced via the
Zencrack USER keyword in the .zcr input file.
The SAVE keyword operates in the normal way on files that are present on the local machine. So,
for example, if SAVE, ODB=YES is specified, the remote ODB files are transferred to the local
machine after each f.e. analysis and are then renamed and saved locally on the machine.
For remote f.e. analyses there are also issues related to case sensitivity in filenames. Care should be
taken when specifying filenames in the input file.
In addition, other system / f.e. related issues may arise. For example, Abaqus user subroutines
require an extension of .for on Windows and .f on Unix and Linux.
If the ZCR_REMOTE_FE variable described in section 8.1 is set to “no”, then all jobs are
automatically sent for local f.e. execution. In this configuration a remote f.e. analysis can be forced
for an individual Zencrack job by using the “-r yes” option, e.g.:
9. References
Ref. 1 Reprise License Manage v14 from Reprise Software, Inc., https://www.reprisesoftware.com.
Ref. 2 Abaqus is a trademark of Dassault Systèmes Simulia Corp. (SIMULIA), Providence, Rhode Island,
U.S.A.
Web site: https://www.3ds.com/products-services/simulia.
Ref. 3 Ansys is a trademark of SAS IP, Inc., a wholly owned subsidiary of Ansys Inc., Canonsburg,
Pennsylvania, U.S.A.
Web site: https://www.ansys.com.
Ref. 4 NASTRAN is a registered trademark of the National Aeronautics and Space Administration.
Simcenter Nastran is an enhanced proprietary version developed and maintained by Siemens
Product Lifecycle Management Software Inc.
Web site: https://www.siemens.com.