Creating a .mesh (not .msh) file for Yade use

Asked by Christopher Stanbridge

Apologies as this is not directly a Yade question, but I couldn't find any similar question-asking forums for Gmsh and the question does relate to a format that is tied in with Yade.

I noticed that meshes used to create GTU surfaces in Yade must have the extension ".mesh". However, when I save meshes in Gmsh, the default extension is ".msh" (".mesh" is quite far down the list of possible choices, in fact), which doesn't seem to be compatible with Yade. Are there any additional conversion mechanisms I can use to turn a .msh into a .mesh within the Yade script?

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

yes, you should use .mesh extension saving your mesh in
GMSH. msh is another format, which is not supported by
Yade at the moment.

Anton

2014-10-06 14:51 GMT+02:00 Christopher Stanbridge
<email address hidden>:
> New question #255416 on Yade:
> https://answers.launchpad.net/yade/+question/255416
>
> Apologies as this is not directly a Yade question, but I couldn't find any similar question-asking forums for Gmsh and the question does relate to a format that is tied in with Yade.
>
> I noticed that meshes used to create GTU surfaces in Yade must have the extension ".mesh". However, when I save meshes in Gmsh, the default extension is ".msh" (".mesh" is quite far down the list of possible choices, in fact), which doesn't seem to be compatible with Yade. Are there any additional conversion mechanisms I can use to turn a .msh into a .mesh within the Yade script?
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Can you help with this problem?

Provide an answer of your own, or ask Christopher Stanbridge for more information if necessary.

To post a message you must log in.