CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   PlaneWall2D Tutorial is broken and does not show proper T profile (https://www.cfd-online.com/Forums/openfoam/185108-planewall2d-tutorial-broken-does-not-show-proper-t-profile.html)

ordinary March 19, 2017 06:35

PlaneWall2D Tutorial is broken and does not show proper T profile
 
1 Attachment(s)
Hi,

I try to run planeWall2D tutorial which is posted here: http://openfoamwiki.net/index.php/Ge..._-_planeWall2D

But it does not show proper temperature profile as stated in the tutorial post:

http://openfoamwiki.net/images/8/82/...Wall2D.001.png




But mine is this:
Attachment 54749

What is wrong with this tutorial? I use foam-extend-3.2 which does not contain this openFOAM tutorial but still ...

ordinary May 23, 2018 10:59

It still seems broken. No temperature contour. paraFoam doesn't work.

RobertHB May 24, 2018 05:59

Did your solver run at all? It doesn't look like it. So its not a paraview problem.

wouter May 24, 2018 18:16

1 Attachment(s)
Hello ordinary,
In your paraview you are looking at time 0, if the problem has run, you need to forward the time to last (using the attached key on paraview).


hope this helps
Wouter

RobertHB May 25, 2018 03:17

Quote:

Originally Posted by wouter (Post 693510)
Hello ordinary,
In your paraview you are looking at time 0, if the problem has run, you need to forward the time to last (using the attached key on paraview).

Thats correct but will not help in this case as there are no further timesteps (see the zero behind the time counter).

sweet_satan May 25, 2018 07:05

Hello ordinary,


You are right, this tutorial does not work on some versions of OpenFOAM. For example to make it work on OpenFoam 4.1 you have to make changes in BCs as described in this post:
https://www.cfd-online.com/Forums/op...tml#post671041


You can try similar trick on your foam-extended but I dont guarantee it will work.


Also for post processing make sure you follow these steps:


Quote:

2.3 Post-Processing

When the script Allrun finishes executing, you'll have the following 3 files:
Code:

planeWall2D{bottomAir}.OpenFOAM planeWall2D{topAir}.OpenFOAM planeWall2D{wall}.OpenFOAM
Start up ParaView from the command line and open those 3 files:
Code:

paraview


ordinary May 26, 2018 09:11

2 Attachment(s)
Thank you for your attention RobertHB.
Quote:

Originally Posted by RobertHB (Post 693429)
Did your solver run at all? It doesn't look like it. So its not a paraview problem.

Yes, I did via ./Allrun:
Code:

ordinary@toshiba:~/FOAM_RUN/planeWall2D$ openfoam50
ordinary@toshiba:~/FOAM_RUN/planeWall2D$ ./Allrun
Running blockMesh on /home/ordinary/FOAM_RUN/planeWall2D
Running topoSet on /home/ordinary/FOAM_RUN/planeWall2D
Running splitMeshRegions on /home/ordinary/FOAM_RUN/planeWall2D
Running chtMultiRegionSimpleFoam on /home/ordinary/FOAM_RUN/planeWall2D

creating files for paraview post-processing

Created 'planeWall2D.blockMesh'
Created 'planeWall2D.OpenFOAM'
Created 'planeWall2D{bottomAir}.OpenFOAM'
Created 'planeWall2D{topAir}.OpenFOAM'
Created 'planeWall2D{wall}.OpenFOAM'
ordinary@toshiba:~/FOAM_RUN/planeWall2D$ paraFoam

Thank you wouter.
Quote:

Originally Posted by wouter (Post 693510)
Hello ordinary,
In your paraview you are looking at time 0, if the problem has run, you need to forward the time to last (using the attached key on paraview).


hope this helps
Wouter

I type paraFoam. And in ParaView, I enable 'T' volume fields in order to see it. Then I click that button (or play button).
Attachment 63610
Attachment 63611


Thank you sweet_satan. I run this case in OpenFOAM 5.0.


All times are GMT -4. The time now is 09:04.