Quantcast
Channel: COMSOL Forums: keeping geometry names after import of fem
Viewing all articles
Browse latest Browse all 6

Re: keeping geometry names after import of fem

$
0
0
Hi

From my knowledge you can only define the names Geom1,Geom 2, ... just as you can only define the independent x,y ... and dependent u,v,p ... variales names, as well as Physics or Application mode names smsld, smps ... when you create the items in the "Multiphysics" menu. Renameing is not possible, you need to restart in new modules.

This has for me quite some sens as there are many variables that depend on these names and once created it's not straitforward to identify all the occurances of these, including the composed names such as uxx, uxy, ut ...

When you have set up a detailed model and suddenly you detect hat you have choosen i.e 2D instead of 2D axisymmetry, and you have defined many formulas, groups etc, well you must start again .

Certian wndows allow you to save to file, Constants, Global expressions, but not Functions, nor Global equations, nor any Coupling variables etc. I agree this is frustrating but I have learned to live with it. On the other side, I do also regularly update ("save as") my models with version/revision identification as
myfile_1, myfile_2, myfile_2a, myfile_2b, myfile_3. THis eases a restart, and mostly I do a "reset" before to save such to have smaller files, but with the complexity of the meshing, and not managing to save the meshing process, this is still annoying in V3.5. This will strongly improve in V4 as we have seen with the beta.

My way around to save important functions or coupling variables is to dump, line by line, the formlas with cut&paste into text files, it takes time.

There is still the option to edit the "history file", this gives you good insight to the internals of COMSOL, you must just manage to do it correctly as the error messages are often cryptic.

For your geometries you can save them and reload them, or use cut&paste between the Geom1, Geom2 ... modes.

As an example, going from a fully constructed 2D mode to 2Daxial, you add the 2Daxial geometry, your aplication mode, you reconstruct the groups, functions ... with cut and paste (you must correct the application mode name extension if applicable) you run and when only you are happy you delete the unwanted old 2D mode.

Hope this helps
Goods luck
Ivar

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images