CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFoam v9 - how to rotate searchableBox (https://www.cfd-online.com/Forums/openfoam-solving/242287-openfoam-v9-how-rotate-searchablebox.html)

limpideyes April 13, 2022 09:32

OpenFoam v9 - how to rotate searchableBox
 
Hi,

In OpenFoam v9, how to rotate searchableBox?

Code:

geometry
{
    buildings
    {
        type triSurfaceMesh;
        file "buildings.stl";
    }

    refinementBox
    {
        type searchableBox;
        min (-80 -80 0);
        max (80 80 190);
    }
};

How can I rotate the seachableBox in 45 degrees?
In OpenFoam v9, I am not sure if 'searchableRotatedBox' works or not.


Please help,

Thanks

Bloerb April 17, 2022 15:25

You can't with searchableBox, but there should be a version that is rotated likely called searchableRotatedBox. Atleast that is present in the ESI versions. Or simply create an stl with the dimensions and position you desire. (For example in paraview and save as an stl)


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