On this page
- Import ANSYS model to Genie
- Merge result files in Prepost
- Only one WRITE command allowed per JNL file
- Use of CREATE HYDRODYNAMIC-INTERFACE
Import ANSYS model to Genie
There is a converter from ANSYS to Sesam (GeniE) which is part of our utility software called Prepost. Please refer to Sesam_Ansys.pdf (located in Prepost installation folder) document for Ansys (*.cdb) conversion. The conversion from Ansys to Sesam is explained in section 3.2. Basically, it only consists of a READ command to read in the Ansys file and a WRITE command to write out the Sesam FEM file. Below is the Prepost input example:
OPEN ..
READ ANSYS, ' ' FileName 0 1
WRITE FEM-FORMATTED, ' ' T1 1
Use Sesam Manager to create a job with a Prepost activity and start Prepost from there.
Please note that only older Ansys database versions are supported. Version 10 should work fine. There have been some updates for version 12 or 13, but not all options may be supported (refer to the attached document).
Merge result files in Prepost
Procedure given in the status list for Prepost:
When using MERGE the following procedure is recommended:
- Take a backup copy of your 'first' results file (of type .sin)
- Start PREPOST
- Use 'OPEN SIN-DIRECT-ACCESS prefix Rn OLD WRITE-PERMITTED' to open the 'first' results file (.sin) as the target results file for the merging.
- Use MERGE (with .sif or .siu) to enter next analysis into the merged file.
- Repeat step 3 until no more analyses to be merged.
- Use EXIT to ensure merged file is properly saved.
Note that you should always reference the top level result file when you enter the file names in the OPEN, READ and MERGE commands.
Only one WRITE command allowed per JNL file
Version: 8.2-04
Symptoms:
When adding multiple WRITE commands into a single JNL file, Prepost will give an error with a text in the Prepost.mlg file similar to the following:
Pointer table is empty or corrupted, IDGR:HSUPTRAN
IATAB 0
IPTAB 224175
NWTAB 535
NWALL 535
IDSEQ 535
IFTAB 2
NRTAB 101
IPSEQ 0
*** ERROR RETURN FROM PHED73, ERROR FLAG = -7337
Error writing to pointer table.IDGR: HSUPTRAN
FILE: 2 POINTER: 224175 SIZE: 535
*** ERROR RETURN FROM PSEL73, ERROR FLAG = -7314
*** SYSTEM ERROR IN ROUTINE: SIFWRI ***
***** WINDUP DUMMY ROUTINE CALLED
%PROGRAM WALKBACK BY AUXLIB:WALK:
_________________________________
%NOT IMPLEMENTED
Cause:
It seems that this error is due to including multiple WRITE commands in a single Prepost run.
Solution:
A workaround for this issue is to create separate JNL files as input to Prepost, each only containing one WRITE command. One may then for instance use a DOS command batch file to run all JNL files after each other.
Use of CREATE HYDRODYNAMIC-INTERFACE
Prepost can convert results from a structural results file R#.SIN, based on frequency domain wave loads, to a hydrodynamic type of results file, like G1.SIF, for use in Postresp.
This is for example relevant if statistical calculations are needed for structural responses of stresses or displacements, because Postresp cannot read the R file directly. The command syntax is typically:
OPEN, SIN-DIRECT-ACCESS, ' ' R100, OLD, READ-ONLY
CREATE HYDRODYNAMIC-INTERFACE, ' ', G1, 1 NODAL-DISPLACEMENTS 1 X END
Please see the user manual for Prepost for details.
Notice that this command is only available if the S#.FEM file is available when running Sestra, together with the T#.FEM and L#.FEM files.