Trelis Frequently Asked Questions

csimsoft

Need help? Here are answers to common questions users have about Trelis.

We realize that your system may be uniquely configured and using Trelis may not go as smoothly as you anticipated. Can't find what you are looking for here? Contact us.

General Trelis questions.

What is Trelis?

Answer: Trelis is an advanced meshing pre-processor based on decades of CUBIT development. For more than two decades, we have worked with Sandia National Laboratories as a major contributor to the CUBIT development team. And since 2004, csimsoft has been the authorized distributor of CUBIT for academic and commercial use. csimsoft has taken the best of CUBIT and added a whole lot more to make Trelis.

What are the differences between Trelis and CUBIT?

Answer: Some people think of Trelis as CUBIT Plus. In 2010, csimsoft began preparing the CUBIT code for commercial use. In 2013, csimsoft launched Trelis for commercial and academic customers. Trelis will still include the on-going joint csimsoft and Sandia development to the CUBIT kernel.

How many mesh elements can Trelis generate?

Answer: The number of elements depends on whether you are running a 32- or 64-bit system and the amount of memory your system has. When a computer needs to swap to disk, the meshing time is increased. There are Trelis users who are regularly generating meshes over 500 million elements on a 64-bit Windows machine with 128 gigabytes of memory. Trelis can generate a 27 million element mesh on an 8 gigabyte machine in less than a minute and over 100 million element mesh on a 32 gigabyte machine in 30 minutes.

What element types does Trelis support?

Answer: Trelis FEA generates both tetrahedral and hexahedral meshes. Trelis CFD and Trelis Pro can generate tetrahedral, hexahedral, and hybrid meshes.

Does Trelis support hybrid meshing?

Answer: Yes, Trelis CFD, FEA, and Pro support hybrid meshes. Pyramids and wedges can be used on adjacent surfaces to transition between volumes with tet and hex meshes.

Does Trelis allow boundary layer meshing?

Answer: Yes, Trelis CFD and Pro includes the ability to create boundary layers.

How is Trelis licensed for use on stand-alone computers and on a network?

Answer: Trelis can be licensed on a per seat basis for stand-alone machines or on a concurrent use basis for local area network users. For example, a company with five Trelis licenses may have two licenses installed on two stand-alone computers and the remaining three licenses can be installed on a local area network. All authorized network users can access Trelis, three users at any given time. See Trelis Licensing for more information.

Formats and support.

What operating systems are supported?

Answer: Trelis versions are available for Windows, Linux, and Mac. Trelis supports the following platforms:

  • Linux with glibc 2.5+ and libstdc++ v4.4+ 64-bit (e.g. Red Hat 6, Fedora 12, SUSE 12, Debian 6, Ubuntu 10.04)
  • Windows Vista 7, 8, 8.1, and 10 64-bit
  • Mac OS X 10.7-10.11, 64-bit

For best results, local displays supporting OpenGL 1.5 is recommended.

What geometry and mesh file formats does Trelis support?

Answer: Trelis works with most CAD tools and solvers. See Trelis Translators for information about supported file formats.

Is software training available?

Answer: csimsoft offers three levels of training.

  • Basic. Trelis GUI, features, and project planning.
  • Advanced. Trelis advanced features and tips.
  • Customization. Creating custom components using C++ and Python.

See Training for more information.

Activation and installation.

When I launch Trelis, the Product Activation screen appears.

Answer: Trelis requires a valid license file before it will launch. The license file can be located on the same computer as Trelis or on a network license server. The license type that you purchased will determine whether Trelis can be run on network or a standalone computer. See Product Activation for detailed information about activating Trelis.

How do I activate Trelis?

Answer: Please see Product Activation for more information on installing Trelis on a stand-alone computer or network.

NOTE: Network installations require that additional software called RLM-Server license manager be installed on a computer that will act as the license server for network computers that will run Trelis. RLM-Server and installation instructions are available here.

How do I find the hostID to use in the activation process?

Answer: Use the rlmutil utility to find the hostID that RLM uses for activation. The options are "rlmutil rlmhostid ether".

Node-locked In a terminal window, navigate to the Trelis\bin folder (for example, "c:\Program Files\Trelis 16.0\bin" or "/opt/Trelis 16.0/bin"). Type "rlmutil rlmhostid ether"

Floating In a terminal window, navigate to the RLM-Server folder and type "rlmutil rlmhostid ether"

Error: "Unable to save license to..."

Answer: If you receive this error in the Product Activation window, you might not have write permission to the /bin/licenses folder. However, the license may have been generated on the csimsoft server. Visit your My Licenses page and scroll to the bottom of the page to download the license file to the Trelis/bin/license folder.

NOTE: If this error occurs on the RLM-Server network server, the license file should be downloaded to the RLM-Server folder. (See Network Troubleshooting below)

Error: "Failed to checkout features from license file."

Answer: If you receive this error in the Product Activation window, you might be running Trelis on a virtual machine. By default, VM is not enabled in the license. Please contact csimsoft to request that VM be enabled in your license.

How to specify the install location for Trelis on a Linux machine.

Answer: You can install Trelis to a specific folder. For example, the following method will install Trelis to /home/user:

  • Download the .deb file.

  • # extract the contents of the .deb file
    ar vx Trelis-XX.X-Lin64.deb

  • # install the data files (the files will go into /opt)
    sudo tar -zx --directory=/home/user -f data.tar.gz (will make a /home/user/opt/Trelis-XXX/ folder)

  • # extract the control files
    tar zxvf control.tar.gz

  • To install the desktop shortcuts for this modified location, modify the csimsoft-Trelis-XXX.desktop file under this installation, then run xdg-desktop-menu to install it.

How to install Trelis on Linux without a deb or rpm tool.

Answer: Some distributions of Linux do not have a deb or rpm tool. Trelis can be installed using the following method:

  • Download the .deb file.

  • # extract the contents of the .deb file
    ar vx Trelis-XX.X-Lin64.deb

  • # install the data files (the files will go into /opt)
    sudo tar -zx --directory=/ -f data.tar.gz

  • # extract the control files
    tar zxvf control.tar.gz

  • # setup the license manager and desktop shortcuts
    sudo ./postinst

How to install Trelis on a Mac.

Answer: Trelis is distributed as a .dmg file and can be installed using the following method:

  1. Download the .dmg file from My Downloads in your account.
  2. Open the .dmg file.
  3. Drag the Trelis icon to Applications to install.
  4. Launch Trelis from the Applications folder. If you get an error about an unidentified developer, go to Security under System Preferences to allow Trelis.
  5. When Trelis launches for the first time, you will see the Product Activation window. Enter the product key and click Activate.

Mac Error: Unidentified developer on Mac.

Answer: If you get an error about an unidentified developer, go to Security under System Preferences to allow Trelis.

Mac Error: "Unable to save license to /Volumes/Trelis-XX.X.X-Mac64/Trelis-XX.X.app/..."

Answer: This error occurs when activating Trelis in the dmg image instead of the installed Trelis. When you open the dmg file, you must drap the Trelis application to the Applications folder to install Trelis. Then, launch Trelis from the Applications folder.

Help with the RLM license manager (www.reprisesoftware.com)

Answer: csimsoft uses the RLM license manager from Reprise Softaware. Reprise has some useful FAQs. Visit the Reprise Sofware website for more information.

Network troubleshooting.

What is the difference between RLM-Server and TrelisLM?

Answer: RLM-Server is the csimsoft license server for managing floating licenses. It includes a GUI for simplifying the activation process. Previously, it was called TrelisLM. To avoid confusion between Trelis and TrelisLM, we renamed the server software RLM-Server.

Common Network Problems

Answer:

  • Did you install RLM-Server and activate the license on the computer you will use as the license server?

    For network installations, two separate software programs must be installed. RLM-Server is the server software and Trelis is the client software. RLM-Server is available at RLM-Server Downloads

  • Did you activate the computer with RLM-Server installed?

    If RLM-Server is activated a license file with a .lic extension will be in the RLM-Server folder. Use the rlm_activate utility in the RLM-Server folder to activate the software, or visit your license page in your csimsoft account. See RLM-Server Installation Instructions for more information.

  • Is the csimsoft ISV server running?

    Sometimes after activation, the license server software needs to be restarted (Does not require a reboot of the machine). Check to see that the csimsoft server is running. In a web browser on the server, type http://localhost:5053. This should open the Reprise License Server Administration page. In the left column, click Status. You should see three tables. In the ISV Servers table you should see csimsoft port 5055 running Yes. If not, click on Reread/Restart Servers in the left column. Check again by clicking Status.

  • Is there another RLM ISV server also using port 5055?

    Other software using RLM may be using the same port number. Change the port number for Trelis to avoid conflicts.

  • Did you install and configure Trelis on the client?

    After RLM-Server is installed and activated (A .lic file is in the RLM-Server folder), ensure that Trelis is configured properly on each network client computer. When Trelis launches, it will request a license from the RLM-Server license server, so it needs to know where RLM-Server is located. The client machine must be able to access the server over the network. In the Trelis Product Activation window, select Floating: Connect to a license server. Enter the Hostname or IP Address of the computer where RLM-Server is installed. The default port is 5053. The Product Activation window is under the Help menu.

Unable to write license file on the license server using the rlm_activate tool.

Answer: When activating RLM-Server using the rlm_activate tool, be sure to run as root or admin. This will allow you to have read/write access to the installation location.

Error: "Communication error with license server. To activate Trelis..."

Answer: This error message is associated with Trelis 14.0.5. It means that a valid license file is not found. To fix this problem, check to see that a valid license file is located in the Trelis\bin\licenses folder.

Error: "Failed to connect to or get license from license server"

Answer: There may be several possible reasons why Trelis is not able to access the RLM-Server server license:

  • Trelis/license version mismatch. If the version of Trelis is newer than the version permitted by the floating license, update the license or use the matching version of Trelis. This may occur when a new version of Trelis is released. The download for Trelis is updated but the floating license on the license server is not updated. The floating license can be updated by running the activation process again using the product key found on the My Licenses page.

  • RLM-Server is not installed. Trelis and RLM-Server must be installed for a floating license to work. RLM-Server is the server software that is installed on a network server or workstation that will act as the license server. It must be installed and activated with a valid license file before a network installation of Trelis can be used.

  • RLM-Server is not activated. After installing RLM-Server, use the rlm_activate command line utility located in the RLM-Server installation folder to activate RLM-Server over the Internet. It will communicate with the csimsoft server and download a floating license file.

  • RLM-Server is not running. During the installation, RLM-Server should start automatically. To check the status of the server, type "http://localhost:5054/" in a web browser. The Reprise License Server Adminstration page will open. On the left sidebar can click Status to see if the csimsoft server is running. To start the csimsoft server, click Reread/Restart Servers.

  • Network communication error. RLM-Server must be installed on a network server or workstation that acts as the license server. This server must be accessible to the workstation where Trelis is installed. This includes configuring a firewall to allow access to the server. Trelis will not work properly if it cannot communicate with RLM-Server.

How to Configure RLM to Manage Software from Multiple Vendors

Answer: RLM-Server is based on RLM from Reprise Software. Reprise provides two methods for using RLM with software from two different software vendors:

  • Separate RLM installations and ISV servers
  • Single RLM installation that manages two ISV servers (recommended)

It is recommended that you use a single RLM installation and have it manage two ISV servers. By default, the RLM server uses port 5053 to communicate with the ISV software. All ISV software should use the same port 5053, but each ISV server will use a unique port. For example, ISV A on port 5055 and ISV B on port 5056 would both use port 5053 to communicate with the RLM license server. All ISV license files should be in the same folder.

For more information, see Managing Software from Multiple Publishers on the Reprise Software website.

How do I suppress the DENIED messages in the server log?

Answer: The RLM-Server log will show a DENIED message when Trelis requests a license for features that the serve does not have. To suppress this message, create a text file in the RLM-Server installation called "csimsoft.opt" with the text "NOLOG denied". While with will suppress the DENIED license message, it may potentially limit the ability to identify when licenses are not checked out properly.

How do I restart the RLM-Server?

Answer: The RLM-Server can be restarted from the RLM-Server Administration page. To access this page, type "http://localhost:5054/" in a web browser. Use the commands on the left sidebar.

If your Linux server does not have a GUI, you can use the following command (as root):

/etc/init.d/rlm.sh restart

How do I stop and remove the RLM-Server?

Answer: The RLM-Server can be removed from a server with the following commands:

Remove the RLM service.

  • Redhat-based systems: (root) chkconfig --del rlm.sh
  • Debian-based systems: (root) update-rc.d rlm.sh remove

Then remove all the files that are part of the installation.

  • rm /etc/init.d/rlm.sh
  • rm -rf /opt/RLM-Server

How do I setup Trelis on a cluster?

Answer: Although the license manager can be installed on the HPC cluster, we recommend that RLM-Server be installed on a computer (Windows or Linux) that is not part of the HPC cluster. The instructions for installing and activating RLM-Server on that computer are the same as any normal computer (See Trelis Network Installation Instructions).

Any Trelis installation on an HPC should have a floating license, regardless of where the RLM server is installed.

After the RLM-Server is installed and the license activated, install Trelis software on the HPC cluster and point back to the machine with the license server. That can be done by placing a remote.lic file in the /bin/licenses folder, or by starting Trelis and when the Activation Dialog appears, enter the IP address or hostname of the license server.

Help with RLM-Server (www.reprisesoftware.com)

Answer: csimsoft uses the RLM-Server license manager from Reprise Softaware. Reprise has some useful FAQs. Visit the Reprise Sofware website for more information.

Linux-specific issues.

How to install Trelis using Linux commands.

Answer: You can install Trelis using the following teminal commands:

  • For Debian based Linux OS:
    sudo dpkg -i ./Trelis-15.2.2-Lin64.deb

  • For Red Hat based Linux OS:
    sudo rpm -ivh ./Trelis-15.2.2-Lin64.rpm

How to specify the install location for Trelis on a Linux machine.

Answer: You can install Trelis to a specific folder. For example, the following method will install Trelis to /home/user:

  • Download the .deb file.

  • # extract the contents of the .deb file
    ar vx Trelis-XX.X-Lin64.deb

  • # install the data files (the files will go into /opt)
    sudo tar -zx --directory=/home/user -f data.tar.gz (will make a /home/user/opt/Trelis-XXX/ folder)

  • # extract the control files
    tar zxvf control.tar.gz

  • # setup the license manager and desktop shortcuts
    sudo ./postint

  • To install the desktop shortcuts for this modified location, modify the csimsoft-Trelis-XXX.desktop file under this installation, then run xdg-desktop-menu to install it.

How to install Trelis on Linux without a deb or rpm tool.

Answer: Some distributions of Linux do not have a deb or rpm tool. Trelis can be installed using the following method:

  • Download the .deb file.

  • # extract the contents of the .deb file
    ar vx Trelis-XX.X-Lin64.deb

  • # install the data files (the files will go into /opt)
    sudo tar -zx --directory=/ -f data.tar.gz

  • # extract the control files
    tar zxvf control.tar.gz

  • # setup the license manager and desktop shortcuts
    sudo ./postinst

Ubuntu GUI delay problem

Answer: Trelis's graphics engine may not work properly if you are using the nouveau video driver. This problem should be resolved by using a Nvidia proprietary driver.

Customization.

Can I customize the Trelis GUI?

Answer: The Trelis GUI allows for the creation of custom components and the modification of panels, menus, and toolbars using the CubitInterface. CubitInterface is an API for interacting with the CUBIT libraries. Documentation for CubitInterface can be found here.

How can I localize the Trelis GUI for a different language?

Answer: The Trelis GUI can be localized using Qt Liguist (free download) and the Trelis translation file. Many text strings can be translated to another language or customized for your organization. Please see the video on localizing Trelis.

Visit our forum.

Join the csimsoft forum. Use the forum to find answers and post questions about geometry, meshing, importing/exporting, and more.