Lars Gregersen
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
2022年5月10日 GMT-4 02:39
Hi Divya
It depends.
If you just want to create a curve in 2D based on your coordinates then just insert a Polygon (listed under More Primitives). Choose the data source as File and select the Type as "Open curve".
The file formats that are supported by Comsol are described in the Programming Reference Manual in the section titled "The COMSOL File Formats". In addition Comsol is able to read a number of CAD file formats if you have the CAD Import Module or one of the LiveLink modules. You want to use the spreadsheet file format.
I've attached a very simple file you can use as an example.
If you wish to create a more advanced geometry then we need more information.
-------------------
Lars Gregersen
Comsol Denmark
Hi Divya
It depends.
If you just want to create a curve in 2D based on your coordinates then just insert a Polygon (listed under More Primitives). Choose the data source as File and select the Type as "Open curve".
The file formats that are supported by Comsol are described in the Programming Reference Manual in the section titled "The COMSOL File Formats". In addition Comsol is able to read a number of CAD file formats if you have the CAD Import Module or one of the LiveLink modules. You want to use the spreadsheet file format.
I've attached a very simple file you can use as an example.
If you wish to create a more advanced geometry then we need more information.
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
2022年5月11日 GMT-4 00:31
Thank you Lars!
I wanted to create a curve in 2D and it works.
The reference txt file was helpful , I arranged my coordinate data in a spreadsheet format.
Thank you Lars!
I wanted to create a curve in 2D and it works.
The reference txt file was helpful , I arranged my coordinate data in a spreadsheet format.