Skip to content
Snippets Groups Projects
Commit 61ddc133 authored by Martin Schönherr's avatar Martin Schönherr :speech_balloon:
Browse files

use primitive

parent 36039fcb
No related branches found
No related tags found
1 merge request!256Kernel names changed
...@@ -124,11 +124,11 @@ int main() ...@@ -124,11 +124,11 @@ int main()
scalingFactory.setScalingFactory(GridScalingFactory::GridScaling::ScaleCompressible); scalingFactory.setScalingFactory(GridScalingFactory::GridScaling::ScaleCompressible);
// use primitive // use primitive
// auto sphere = std::make_shared<Sphere>(0.0, 0.0, 0.0, dSphere / 2.0); auto sphere = std::make_shared<Sphere>(0.0, 0.0, 0.0, dSphere / 2.0);
// use stl // use stl
std::string stlPath = "C:\\Users\\schoen\\Desktop\\git\\VirtualFluids_dev_rz\\apps\\gpu\\LBM\\SphereRefined\\sphere02.stl"; //std::string stlPath = "C:\\Users\\schoen\\Desktop\\git\\VirtualFluids_dev_rz\\apps\\gpu\\LBM\\SphereRefined\\sphere02.stl";
auto sphere = std::make_shared<TriangularMesh>(stlPath); //auto sphere = std::make_shared<TriangularMesh>(stlPath);
gridBuilder->addGeometry(sphere); gridBuilder->addGeometry(sphere);
gridBuilder->setPeriodicBoundaryCondition(false, false, false); gridBuilder->setPeriodicBoundaryCondition(false, false, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment