CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [SOWFA] How to incluide a WindTurbine in a terrainBlockMesher mesh (https://www.cfd-online.com/Forums/openfoam-community-contributions/139569-how-incluide-windturbine-terrainblockmesher-mesh.html)

rbb July 26, 2014 20:22

How to incluide a WindTurbine in a terrainBlockMesher mesh
 
Hello everyone! I'm a newbie here, I've registered to ask you a question.

I was trying to incluide a WindTurbine using topoSet in a terrainBlockMesher mesh and I didnt get it. I dont know which parameters incluide in terrainBlockMesherDict, but put in this;

windTurbine1
{
type searchableCylinder;
point1 (1995 500 100);
point2 (2005 500 100);
radius 50;
}

And it didnt work. Also I've written on topoSetDict;
actions
(
// actuationDisk1
{
name actuationDisk1;
type cellSet;
action new;
source cylinderToCell;
sourceInfo
{
point1 (1995 500 100);
point2 (2005 500 100);
radius 50;
}
}
{
name actuationDisk1;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set actuationDisk1;
}
}


When I run it (terrainBlockMesher in the terminal comand) and then topoSet, a message was showed:

--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'actions' on line 19 and ending at line 72"

file: /home/rami/OpenFOAM/rami-2.1.1/run/addHill/system/topoSetDict at line 72.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting

I dont know how to solve it. Can anybody help me?

Thanks in advance

pbohorquez July 29, 2014 15:37

Hi Rami, do you look for sth like this? I suppose that you mean 'actuator disk' when referring to turbine :) The case can be downloaded from this link. Enjoy
There is one disk and one square. Nice open source mesher.
Patricio

rbb July 29, 2014 16:10

Thank you very much Patricio, this stuff will be very useful for me and everyone!


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