Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Importing Sentaurus TCAD mesh in COMSOL

Please login with a confirmed email address before reporting spam

Hi all, I am using Sentaurus TCAD for semiconducor device simulation (Poisson equation coupled with continuity equations), and put the results in COMSOL for further use. Therefore, I need to use a common mesh geometry for my device (say, a MOSFET). Sentaurus can export .grd files (like a simple one attached herewith), however, COMSOL only imports .mphtxt. Could you give me a proper solution so that TCAD can be used with COMSOL parallely? Any help will be highly appreciated. -Joydeep Ghosh



2 Replies Last Post Dec 4, 2019, 7:01 a.m. EST
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago Dec 3, 2019, 2:42 p.m. EST
Updated: 4 years ago Dec 3, 2019, 9:42 a.m. EST

Hello Joydeep,

COMSOL can import a number of different formats for geometry and mesh. Which ones your license can import will depend on which COMSOL products your license includes. You can see a list of the supported mesh formats and CAD formats and what products are needed to import them on the CAD specification chart.

The .grd format is not currently covered out of the box, but using the COMSOL Java API you could write a converter app to read .grd files and output files in one of the formats your license can read. The COMSOL Java API is documented in the Programming Reference Manual, which you'll find inside the software, under File > Help > Documentation. Some of the formats in which your app could write are documented in the COMSOL Mesh Import and Export Guide.

Best regards,

Jeff

-------------------
Jeff Hiller
Hello Joydeep, COMSOL can import a number of different formats for geometry and mesh. Which ones your license can import will depend on which COMSOL products your license includes. You can see a list of the supported mesh formats and CAD formats and what products are needed to import them on [the CAD specification chart](https://www.comsol.com/products/specifications/cad/). The .grd format is not currently covered out of the box, but using the COMSOL Java API you could write a converter app to read .grd files and output files in one of the formats your license can read. The COMSOL Java API is documented in the Programming Reference Manual, which you'll find inside the software, under File > Help > Documentation. Some of the formats in which your app could write are documented in the [COMSOL Mesh Import and Export Guide](https://www.comsol.com/model/comsol-multiphysics-mesh-import-and-export-guide-72351). Best regards, Jeff

Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago Dec 4, 2019, 7:01 a.m. EST

Hi Joydeep

You can also use our COMSOL API directly to create a mesh in Comsol without having to export a file. If you have Matlab there is a high probability that someone already has made a Matlab function that can read this file format. You can then use LiveLink for Matlab to create the mesh in Comsol.

If you can't find a Matlab function that does the conversion you can contact support and we'll see what we can do.

-------------------
Lars Gregersen
Comsol Denmark
Hi Joydeep You can also use our COMSOL API directly to create a mesh in Comsol without having to export a file. If you have Matlab there is a high probability that someone already has made a Matlab function that can read this file format. You can then use LiveLink for Matlab to create the mesh in Comsol. If you can't find a Matlab function that does the conversion you can contact support and we'll see what we can do.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.