Elmer electrostatics FEM
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Elmer electrostatics FEM
Do you mean ... https://forum.freecadweb.org/viewtopic. ... 30#p371807
- Attachments
-
- Tutorial_6 - Electrostatic equation – Capacitance of two balls_1p0.FCStd
- (24.84 KiB) Downloaded 55 times
Re: Elmer electrostatics FEM
really ?!? I do not know elmer sif format. Why should there be still the old value? Or is the ! a comment marker?HoWil wrote: ↑Thu Jun 04, 2020 5:33 pm The change has to be made in the 'Constants' section fromtoCode: Select all
... Constants Permittivity Of Vacuum = Real 8.8542e-21 End ...
Code: Select all
... Constants Permittivity Of Vacuum = 1 !Real 8.8542e-21 End ...
Re: Elmer electrostatics FEM
Yes, ! is the comment marker (See page 14 in https://www.nic.funet.fi/pub/sci/physic ... Manual.pdf)
Re: Elmer electrostatics FEM
but than should not be the word integer before the 1 ?
Re: Elmer electrostatics FEM
or even better
Code: Select all
Real 1.0
Re: Elmer electrostatics FEM
That is correct.
It works without but is totally unambigous with "Real".
It works without but is totally unambigous with "Real".
Re: Elmer electrostatics FEM
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
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
Re: Elmer electrostatics FEM
@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
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
Re: Elmer electrostatics FEM
Should the two balls example from this topic be added to standard FreeCAD FEM examples ?