Error saving model and grid generation error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error saving model and grid generation error

randress
I was trying out the nice new geometry features of build 20.09.247 - object split and fillet/chamfer when I encountered a couple of errors: a) saving the model and b) doing a grid generation.

I began by building a cone frustrum and cylinder, splitting them and then enclosing both in a block:
fea.sdim = { 'x', 'y', 'z' };
fea.geom = struct;
fea = addphys( fea, @conductivemediadc, { 'V' } );

%% Geometry operations.
gobj = gobj_cone( [0 0 0], [1], [0.5], [1], [1 0 0], 'C1' );
fea = geom_add_gobj( fea, gobj );
fea = geom_split_object( fea, { 'C1' }, [0.5  0  0], [1 0 0] );
gobj = gobj_cylinder( [-2 0 0], [.25], [1], [1 0 0], 'C2' );
fea = geom_add_gobj( fea, gobj );
fea = geom_split_object( fea, { 'C2' }, [-1.5 0 0], [1  0  0] );
gobj = gobj_block( [-3], [2], [-2], [2], [-2], [2], 'B1' );
fea = geom_add_gobj( fea, gobj );

I then generated a grid, completed the Equation and Boundary and did some post processing.

I then went back to geometry and added fillet and chamfer to the cylinder sections:



I attempted to generate a grid and got an error window containing:

griggen_error.txt

When I tried to save it as a model file I got:



I was able to save the problem as a matlab script and from it I created the following which will reproduce the geometry:

create_model.m

The save and grid gen errors can be reproduced by:
1. running "create_model.m"
2. save geometry in matlab workspace, g = fea.geom
3. from FEATool create new model and import geometry, "g", from matlab workspace.
4. try to save as a model (gets error)
5. go to grid mode and generate grid (gets grid gen error).

I will try to narrow it down to a smaller case.

Kind regards,
Randal

PS I really do like the new features!!
Reply | Threaded
Open this post in threaded view
|

Re: Error saving model and grid generation error

randress
I must have some kind of an installation problem. After closing FEATool and MATLAB and restarting, I get a fail on saving a single block model. The that starts out the same as the one above "....python...".



I can do a grid gen though.

Please do not spend any time on this if you think that I may have an installation problem.  

Let me re-download, re-install, and re-test.  I may not get to this until tomorrow. But I should have an update within 24 hours.  

Sorry for the confusion.

-Randal
Reply | Threaded
Open this post in threaded view
|

Re: Error saving model and grid generation error

Precise Simulation
Administrator
I have pushed a new update that I think addresses both these issues. First a geometry processing bug for mesh generation. And a check for python for the FEniCS solver that I forgot is checked for at startup (so shouldn't throw error there unless one actually tries to use the solver). Thanks for testing.
Reply | Threaded
Open this post in threaded view
|

Re: Error saving model and grid generation error

randress
Precise Simulation wrote
I have pushed a new update that I think addresses both these issues.
Works fine now.
Precise Simulation wrote
Thanks for testing.
Thanks for the features and fixes,
-Randal