## 2 layer wall: temperature calculation

About the development of the FEM module/workbench.

Moderator: bernd

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

### 2 layer wall: temperature calculation

There is a diskussion in the german forum about calculating the temperature-distribution in a wall:

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 .
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
concreteFoamglassm.zip
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
Version: 0.17.12619 (Git)
Build type: Release
Branch: master
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 (52.2 KiB) Viewed 770 times
resultsParaview.JPG (54.77 KiB) Viewed 770 times
bernd
Posts: 8329
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

### Re: 2 layer wall: temperature calculation

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
Posts: 1416
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

### Re: 2 layer wall: temperature calculation

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 (37.69 KiB) Viewed 745 times
meshingOutsideAnalysisContainer.JPG (67.1 KiB) Viewed 745 times
result.JPG (28.65 KiB) Viewed 745 times
bernd
Posts: 8329
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

### Re: 2 layer wall: temperature calculation

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

### Re: 2 layer wall: temperature calculation

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.
Posts: 1416
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

### Re: 2 layer wall: temperature calculation

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
Posts: 1416
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

### Re: 2 layer wall: temperature calculation

HoWil wrote:
Thu Nov 23, 2017 2:30 pm
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: 838
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

### Re: 2 layer wall: temperature calculation

Thu Nov 23, 2017 2:34 pm
HoWil wrote:
Thu Nov 23, 2017 2:30 pm
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

I could reproduce your problem with daily:
OS: Ubuntu 16.04.3 LTS
Word size of OS: 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 (29.1 KiB) Viewed 722 times
But when I use the 'FreeCAD-Elmer' branch everything is fine
Screenshot from 2017-11-23 16-14-02.png (229 KiB) Viewed 722 times
For this I used:
OS: Ubuntu 16.04.3 LTS
Word size of OS: 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 ...

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

### Re: 2 layer wall: temperature calculation

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

### Re: 2 layer wall: temperature calculation

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