ElmerSolver puts out wrong/strange result

Numerical methods and mathematical models of Elmer
PanikJeremy
Posts: 9
Joined: 20 Nov 2014, 00:16
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by PanikJeremy »

Hi Anil,

sry for the late reply. here is the .hdf file. i exported cut_22 into a step file and imported this directly in Elmer. And aplliyed the 10 Voltage at one of the cut outs and 0 Voltage to the other one.

PanikJeremy
Attachments
Study1.zip
(31.5 KiB) Downloaded 229 times
PanikJeremy
Posts: 9
Joined: 20 Nov 2014, 00:16
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by PanikJeremy »

Hi Anli,

sorry for the late reply. Here is the .hdf file. I exported Cut_2 in a step file. I then imported the step file directly in ElmerGUI and applied the Potential 10 on the one cut out box and 0 on the other.

PanikJeremy
Attachments
Study1.zip
(31.5 KiB) Downloaded 236 times
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by annier »

Hi PanikJeremy,
-Your geometry is in 3 D.
-You need to partition the intersecting faces involved to see them as boundaries.


Yours
Anil Kunwar
Last edited by annier on 21 Nov 2014, 19:49, edited 1 time in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by annier »

Hi PanikJeremy,
I have drawn a sample 3D Box geometry in Salome 7.4.0 using the following steps.
1. Geometry Module
i. New Entity>>Basic>>Vector
Dx=10, Dy=10,Dz=10
ii.New Entity>>Primitive>>Box
Dimensions at origin
Dx=200, Dy=200,Dz=200
Apply and Close
iii. New Entity>>Explode (Box_1 as main object, Face as subshapes)
(If there are intersecting faces for complex 3D geometries, Operation>>Partition should be done at the faces and create >>geometry group should be done here at geometry module to provide sub-meshing option in Mesh module)
v. Rename by right clicking the edges at object browser for convenience
vi. Save the file as .hdf file

2. Mesh Module
i. Mesh>>Create Mesh (selection geometry = Box_1, do necessary selections and apply + close)
(e.g. Tetrahedral meshing 3D, Tetrahedral Netgen in 2D-1D, Netgen 1-D)
ii.Mesh >>Compute
iii.Mesh >>Create Group
-Mesh (=select mesh from object browser)
-select face
-Group on geometry
-Direct Geometry selection
-select the previously exploded faces of box from object browser and apply+close.
iv. Right click near Mesh at object browser and select export
v. Export file in .unv format


Note:
The Mesh>>Create Group is very important because it helps in recognition of boundary names (in mesh names file) in Elmer when we convert .unv format into ElmerSolver format using the command

Code: Select all

$ElmerGrid 8 2 Box_Tetr.unv -autoclean
The mesh files and solver input files are attached in the upcoming post.
The results are as following:
ElectricField_Tetrahedral.jpg
Electric_Field
(103.26 KiB) Not downloaded yet
potential_tetrahedral.jpg
Electric_Potentials
(89.87 KiB) Not downloaded yet
Yours
Anil Kunwar
Last edited by annier on 22 Nov 2014, 15:59, edited 6 times in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by annier »

The corresponding mesh file and solver input file that produced the above results are as following:

Yours
Anil Kunwar
Attachments
Mesh_and_SIF.tar.gz
Mesh file with tetrahedral mesh elements and solver input file
(708.48 KiB) Downloaded 254 times
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by annier »

Hi PanikJeremy,
Your geometry and mesh have perpendicular faces that intersect and so it needs submeshing. You need to partition these faces to realize them as different boundaries defined by the partition.
Geometry.png
(92.5 KiB) Not downloaded yet
Mesh.png
(104.8 KiB) Not downloaded yet
Yours
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
PanikJeremy
Posts: 9
Joined: 20 Nov 2014, 00:16
Antispam: Yes

Re: ElmerSolver puts out wrong/strange result

Post by PanikJeremy »

Hi Anil,

thnaks for the effort. I think i know what i have to do now, to correct it.

PanikJeremy
Post Reply