From aeeab7f6704c697cc455f1a4bbaa689a21765617 Mon Sep 17 00:00:00 2001 From: Niklas Nordin Date: Sun, 20 Jun 2010 16:39:05 +0200 Subject: [PATCH] snapEdge snapping features, first try --- 1.6/snapEdge/readSnapEdgeDict.H | 14 ++++++++++++++ 1.6/snapEdge/snapEdgeDict | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 1.6/snapEdge/readSnapEdgeDict.H create mode 100644 1.6/snapEdge/snapEdgeDict diff --git a/1.6/snapEdge/readSnapEdgeDict.H b/1.6/snapEdge/readSnapEdgeDict.H new file mode 100644 index 0000000..0589e6d --- /dev/null +++ b/1.6/snapEdge/readSnapEdgeDict.H @@ -0,0 +1,14 @@ +IOdictionary snapEdgeDict +( + IOobject + ( + "snapEdgeDict", + runTime.constant(), + runTime, + IOobject::MUST_READ, + IOobject::NO_WRITE + ) +); + +word snapPatch(snapEdgeDict.lookup("snapPatch")); +word stlFileName(snapEdgeDict.lookup("stlFileName")); diff --git a/1.6/snapEdge/snapEdgeDict b/1.6/snapEdge/snapEdgeDict new file mode 100644 index 0000000..186582a --- /dev/null +++ b/1.6/snapEdge/snapEdgeDict @@ -0,0 +1,20 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: 1.6 | +| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "constant"; + object snapEdgeDict; +} + +snapPatch wedge_wedge; + +stlFileName wedge.stl; + -- 2.11.4.GIT