Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

controlling mesh density with netgen

More
5 years 2 months ago #1438 by masi2019
Actually I saw that section 4.1 and based on that I wrote the following *.msz file for my geo file (just to test):
1
0.0 0.0 0.0 0.1
1
0.0 0.0 0.0 1.0 1.0 1.0 0.1
my np is 1 and my nl is also 1. This I used with the following *.geo file:

#
## A cube
#
algebraic3d

# cube consisting of 6 planes:

solid cube = plane (0, 0, 0; 0, 0, -1)
and plane (0, 0, 0; 0, -1, 0)
and plane (0, 0, 0; -1, 0, 0)
and plane (1, 1, 1; 0, 0, 1)
and plane (1, 1, 1; 0, 1, 0)
and plane (1, 1, 1; 1, 0, 0);

tlo cube -transparent;

But I get the error message as following:
Mesh-size file error: Number of line definitions don't match specified list size

What am I doing wrong here? BTW, thank you for developing such a nice open and powerful software. It helps me a lot for my thesis
More
5 years 2 months ago #1439 by joachim
Your example is working for me. I guess you miss the return after the last line.

Joachim
The following user(s) said Thank You: masi2019
Time to create page: 0.166 seconds