Skip to content

New feature proposition: displaying CA created groups #9

@jules-arnd

Description

@jules-arnd

Hello,

A common feature in code_aster consists in adding new groups in the mesh (nodes and elements) using the 'DEFI_GROUP' code_aster command.
These groups are added in the mesh when code_aster is runned.
Therefore, these groups cannot be displayed in the VS Code Aster extension, because it only displays the current .med file (which existed before launching the code_aster computation).

A very interesting feature would consist in automatically performing a minimalist code_aster computation that exclusively defines the new groups and saves the new mesh.
In order to do this, the extension would have to analyze the .comm files and locate the LIRE_MAILLAGE commands (and their associated concepts), and the DEFI_GROUP commands. These commands would need to be pasted in a new .comm file, alongside the following command:

IMPR_RESU(RESU=_F(MAILLAGE=mesh),UNITE=60)

and the following line in the .export file:

F med mesh_VSCA.med R 60

The newly generated .med file would replace the original one as the one being processed by the extension.
This feature could remain optionnal and not activated by default.

I remain at your disposal for any question about the use cases.
Regards,
Jules Arnaud

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions