CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Blog Entries

Register Blogs Community New Posts Updated Threads Search

Old

PyFoam

Posted October 12, 2016 at 11:41 by kindle
Updated October 14, 2016 at 10:03 by kindle

4.8 GUI-Tools

4.8.1 pyFoamDisplayBlockMesh.py

Graphically displays a blockMesh and helps highlights selected blocks and patches. It is not a blockMesh-editor, but it helps to find errors in the order of vertices etc (editing of the blockMesh is still done in a text editor).
This needs an installation of the VTK with Python-bindings. The ways to get this are very different on various systems. But usually you have to compile it from the sources. Sorry.
Since...
New Member
Posted in PyFoam
Views 624 Comments 0 kindle is offline Edit Tags
Old

Cylinder Mesh

Posted October 12, 2016 at 10:43 by kindle
Updated October 14, 2016 at 10:04 by kindle

Quote:
Originally Posted by guilherme View Post
hi, how do I do a cylinder with blockmesh? Is it necessary do a quarter of a cylinder and stablish simmetry plane in the lateral faces of it or exists a mean of make a entire cylinder? My cylinder is totally wrong I think.

Could anyone posts a simple mesh to I see?
The first guy attaches cylinderMesh.m4. which is for older Openfoam, writing patches differently.

The second attaches cylinderMesh.txt which is the same as first but compatible with Openfoam...
New Member
Posted in Pre-processing
Views 694 Comments 0 kindle is offline Edit Tags
Old

Wind Farm Flow Simulation 3

Posted October 6, 2016 at 13:53 by windsimu

I used the timestep of 0.05s, it has passed 3035s physical time and keeps on running. The maximum courant no. and average courant no. are 0.29 and 0.035 respectively. So the smaller timestep (0.05s) really works.
New Member
Posted in Uncategorized
Views 1549 Comments 1 windsimu is offline Edit Tags
Old

Wind Farm Flow Simulation 2

Posted October 6, 2016 at 11:12 by windsimu

I calculated the courant no.

The maximum velocity is approximately 18m/s at the top. and if the time step is 0.15s, the courant no. is 1.08 (dx = 2.5m). So the time step indeed should be decreased. But the time step in the last step is 0.015s, the courant no. is 0.108. It is pretty small. So I slightly increased the time step to 0.05s. I got 1000s physical time after 1 day, so I expect I can get 300-400s physical time after 1 day running.
New Member
Posted in Uncategorized
Views 948 Comments 0 windsimu is offline Edit Tags
Old

Wind Farm Flow Simulation 1

Posted October 6, 2016 at 10:43 by windsimu

I run a simulation case from NREL in OpenFOAM 2.1.1 (3km*3km*1km). I would like to use this case and solver (ABLSolver) to simulate the flow field in wind farm. I refined a region for wind turbine in this case (detx=2.5m).

The case works pretty well before 3035s. From 3035s, the max courant no. increased instantly from 0.75 to 2.6e+25. I used adaptive time step and the maximum time step is set to be 0.5 (it is normally 0.15 because of max courant no.) and maximum courant no. is 0.75....
New Member
Posted in Uncategorized
Views 873 Comments 0 windsimu is offline Edit Tags

All times are GMT -4. The time now is 05:37.