Elmer electrostatics FEM

About the development of the FEM module/workbench.

Moderator: bernd

HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Elmer electrostatics FEM

Post by HoWil »

Attachments
Tutorial_6 - Electrostatic equation – Capacitance of two balls_1p0.FCStd
(24.84 KiB) Downloaded 54 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Elmer electrostatics FEM

Post by bernd »

HoWil wrote: Thu Jun 04, 2020 5:33 pm The change has to be made in the 'Constants' section from

Code: Select all

...
Constants 
  Permittivity Of Vacuum = Real 8.8542e-21
End
...
to

Code: Select all

...
Constants 
  Permittivity Of Vacuum = 1 !Real 8.8542e-21
End
...
really ?!? I do not know elmer sif format. Why should there be still the old value? Or is the ! a comment marker?
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Elmer electrostatics FEM

Post by HoWil »

bernd wrote: Mon Jun 22, 2020 3:57 pm really ?!? I do not know elmer sif format. Why should there be still the old value? Or is the ! a comment marker?
Yes, ! is the comment marker (See page 14 in https://www.nic.funet.fi/pub/sci/physic ... Manual.pdf)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Elmer electrostatics FEM

Post by bernd »

but than should not be the word integer before the 1 ?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Elmer electrostatics FEM

Post by bernd »

or even better

Code: Select all

Real 1.0
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Elmer electrostatics FEM

Post by HoWil »

That is correct.
It works without but is totally unambigous with "Real".
raback
Posts: 75
Joined: Fri May 08, 2020 4:02 pm
Location: Finland
Contact:

Re: Elmer electrostatics FEM

Post by raback »

Hi

This is the list of specified keywords in Elmer:
https://github.com/ElmerCSC/elmerfem/bl ... R.KEYWORDS
Not all keywords have made it to the list and their type must be given by the user.

A Real valued keyword can be given value "1" even though it looks suspicious.

In the test the permittivity of vacuum was set to one to make it easier to compare to analytical expressions (with mesh resolution). If you emphasize more the physics here you could well use the real values.

-Peter
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Elmer electrostatics FEM

Post by bernd »

@HoWil:

Would you give https://github.com/berndhahnebach/FreeC ... rmittivity a try. Just add constand vacuumpermittivity obj. and change value in property editor. This should change the value in elmer sif file.

bernd
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Elmer electrostatics FEM

Post by bernd »

Should the two balls example from this topic be added to standard FreeCAD FEM examples ?
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Elmer electrostatics FEM

Post by HoWil »

bernd wrote: Fri Jun 26, 2020 7:18 am Should the two balls example from this topic be added to standard FreeCAD FEM examples ?
If it works ... for sure :arrow:
Compiling your work...
Post Reply