CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

Ansa version check

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sumpate

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2020, 23:20
Default Ansa version check
  #1
New Member
 
Sumit Patel
Join Date: Mar 2020
Posts: 8
Rep Power: 6
sumpate is on a distinguished road
How to check ansa version of file i.e. is it ansa 16 or ansa 18...using script?
rmaries likes this.
sumpate is offline   Reply With Quote

Old   April 21, 2020, 00:38
Default
  #2
Member
 
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16
rmaries is on a distinguished road
Quote:
Originally Posted by sumpate View Post
How to check ansa version of file i.e. is it ansa 16 or ansa 18...using script?
Code:
print(constants.app_version)    #prints ansa version as string
print(constants.app_version_int) # prints  ansa version as int

Last edited by rmaries; April 21, 2020 at 02:22.
rmaries is offline   Reply With Quote

Old   April 25, 2020, 02:35
Default
  #3
New Member
 
Sumit Patel
Join Date: Mar 2020
Posts: 8
Rep Power: 6
sumpate is on a distinguished road
Quote:
Originally Posted by rmaries View Post
Code:
print(constants.app_version)    #prints ansa version as string
print(constants.app_version_int) # prints  ansa version as int
Thank you for the reply...
sumpate is offline   Reply With Quote

Old   April 27, 2020, 03:33
Default
  #4
New Member
 
Sumit Patel
Join Date: Mar 2020
Posts: 8
Rep Power: 6
sumpate is on a distinguished road
But without opening file..can we check the ANSA version ??
sumpate is offline   Reply With Quote

Old   April 27, 2020, 04:22
Default
  #5
Member
 
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16
rmaries is on a distinguished road
Quote:
Originally Posted by sumpate View Post
But without opening file..can we check the ANSA version ??
Yes that is possible.

Check the script in ansa installation folder. there is a script in config folder named ansatoc.py.

With this script you can find the ansa version without opening ansa.
rmaries is offline   Reply With Quote

Reply


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
Two version of OpenFOAM and Hertz-Knudsen-Schrage MechEngr86 OpenFOAM Running, Solving & CFD 2 April 6, 2019 03:05
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
OpenFOAM-1.6 install cookbook MadsR OpenFOAM Installation 372 November 20, 2010 11:57
version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie Main CFD Forum 1 April 19, 2010 14:00
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 20:55


All times are GMT -4. The time now is 22:42.