2 layer wall: temperature calculation

About the development of the FEM module/workbench.

Moderator: bernd

thschrader
Posts: 1402
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

2 layer wall: temperature calculation

Postby thschrader » Thu Nov 23, 2017 11:51 am

There is a diskussion in the german forum about calculating the temperature-distribution in a wall:
https://forum.freecadweb.org/viewtopic. ... 1&start=50

Given:
200 mm reinforced-concrete wall (inside), 100 mm insulation (foamglas) outside.
Temperature +20 deg celsius inside, -10 deg celsius outside.
When doing the calculation with the model below, ccx calculates the discontinuity-point
inside the concrete-zone, but the point should exactly be located on the 200 mm line :o .
We have no idea why this happens. The user Christoph checked back the calculation with elmer-fem
and everything ist fine. In my opinion, this is not a FC/ccx error, there must be something wrong with
my model which I am still overlooking. Any ideas? Thanks.
regards Thomas
FC/Smath files: (rename file to ...Foamglas.sm)
wallClearedMesh.FCStd
(16.03 KiB) Downloaded 12 times
concreteFoamglassm.zip
(17.1 KiB) Downloaded 63 times
vtk-result-file for directly viewing in paraview on dropbox (40 MB):
https://www.dropbox.com/s/4lvk6y45yvxwj ... w.vtk?dl=0

Calculation done with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12619 (Git)
Build type: Release
Branch: master
Hash: b3631e134be8bfade0534f2dc0ee668ae71a223f
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
wall1.JPG
wall1.JPG (52.2 KiB) Viewed 746 times
resultsParaview.JPG
resultsParaview.JPG (54.77 KiB) Viewed 746 times
User avatar
bernd
Posts: 8041
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: 2 layer wall: temperature calculation

Postby bernd » Thu Nov 23, 2017 12:12 pm

hi thomas,

find attached a model with slightly better geometry tree structure. Would you remodell the constraint and femmeshgegion geometry references and test again.

bernd
wallClearedMesh-bha.FCStd
(16.13 KiB) Downloaded 12 times
thschrader
Posts: 1402
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2 layer wall: temperature calculation

Postby thschrader » Thu Nov 23, 2017 1:42 pm

bernd wrote:
Thu Nov 23, 2017 12:12 pm
hi thomas,
find attached a model with slightly better geometry tree structure. Would you remodell the constraint and femmeshgegion geometry references and test again.
bernd
Tested:
Opened your file, setting materials/boundaries. When starting meshing while mesh is inside analysis-container,
gmsh does not meshing.
Drag mesh outside container, meshing works.
Drag back mesh into container, run calculation, result as before. ;)
Thomas
gmsh1.JPG
gmsh1.JPG (37.69 KiB) Viewed 721 times
meshingOutsideAnalysisContainer.JPG
meshingOutsideAnalysisContainer.JPG (67.1 KiB) Viewed 721 times
result.JPG
result.JPG (28.65 KiB) Viewed 721 times
User avatar
bernd
Posts: 8041
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: 2 layer wall: temperature calculation

Postby bernd » Thu Nov 23, 2017 1:49 pm

would you post the file with mesh cleared.
HoWil
Posts: 831
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: 2 layer wall: temperature calculation

Postby HoWil » Thu Nov 23, 2017 2:30 pm

thschrader wrote:
Thu Nov 23, 2017 1:42 pm
result.JPG
ps.: you could also use the results pipeline and 'DataAlongLine' to generate this plot and to avoid exporting to paraview.
thschrader
Posts: 1402
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2 layer wall: temperature calculation

Postby thschrader » Thu Nov 23, 2017 2:32 pm

bernd wrote:
Thu Nov 23, 2017 1:49 pm
would you post the file with mesh cleared.
Here is your file with (cleared) mesh outside the analysis container
and with defined materials/boundaries.
Thomas
meshingQutsideContainer.FCStd
(16.62 KiB) Downloaded 12 times
thschrader
Posts: 1402
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2 layer wall: temperature calculation

Postby thschrader » Thu Nov 23, 2017 2:34 pm

HoWil wrote:
Thu Nov 23, 2017 2:30 pm
thschrader wrote:
Thu Nov 23, 2017 1:42 pm
result.JPG
ps.: you could also use the results pipeline and 'DataAlongLine' to generate this plot and to avoid exporting to paraview.
Howil, thanks for the tip, but I am running Windows 10, Data along line tool
does not work...
Thomas
HoWil
Posts: 831
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: 2 layer wall: temperature calculation

Postby HoWil » Thu Nov 23, 2017 3:22 pm

thschrader wrote:
Thu Nov 23, 2017 2:34 pm
HoWil wrote:
Thu Nov 23, 2017 2:30 pm
thschrader wrote:
Thu Nov 23, 2017 1:42 pm
result.JPG
ps.: you could also use the results pipeline and 'DataAlongLine' to generate this plot and to avoid exporting to paraview.
Howil, thanks for the tip, but I am running Windows 10, Data along line tool
does not work...
Thomas
Ok ... I guess you hear this tip frequently.. sorry :D

I could reproduce your problem with daily:
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12624 (Git)
Build type: None
Branch: master
Hash: 8ea6b92ea98bced2fcef2d099dd3a6d50ec4290c
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Screenshot from 2017-11-23 16-17-11.png
Screenshot from 2017-11-23 16-17-11.png (29.1 KiB) Viewed 698 times
But when I use the 'FreeCAD-Elmer' branch everything is fine :!: :D
Please see
Screenshot from 2017-11-23 16-14-02.png
Screenshot from 2017-11-23 16-14-02.png (229 KiB) Viewed 698 times
For this I used:
OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12404 (Git)
Build type: Unknown
Branch: howilnewsolver
Hash: 1aa4d87a9542994d795bca002b4ae51ede438605
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: English/UnitedStates (en_US)

For sure can use the windows version of Bernds Elmer-Integration branch ...
https://forum.freecadweb.org/viewtopic. ... 70#p199382

BR,
HoWil
Last edited by HoWil on Thu Nov 23, 2017 3:42 pm, edited 1 time in total.
HoWil
Posts: 831
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: 2 layer wall: temperature calculation

Postby HoWil » Thu Nov 23, 2017 3:40 pm

BTW.: it also solves faster since it computes only the temperature and not the thermo-mech problem... So many reasons to switch to elmer :D
@Bernd... Any progress on the way to integrate it into master?
looo
Posts: 2655
Joined: Mon Nov 11, 2013 5:29 pm

Re: 2 layer wall: temperature calculation

Postby looo » Thu Nov 23, 2017 4:32 pm

has anyone tried to plot the displacement/strain/stress of the calculix example? Maybe the face has moved :D