mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial commit after latest foundation merge
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -84,14 +84,14 @@ int main(int argc, char *argv[])
|
||||
const fileName surfFileName = args[1];
|
||||
const scalar density = args.optionLookupOrDefault("density", 1.0);
|
||||
|
||||
vector refPt = vector::zero;
|
||||
vector refPt = Zero;
|
||||
bool calcAroundRefPt = args.optionReadIfPresent("referencePoint", refPt);
|
||||
|
||||
triSurface surf(surfFileName);
|
||||
|
||||
scalar m = 0.0;
|
||||
vector cM = vector::zero;
|
||||
tensor J = tensor::zero;
|
||||
vector cM = Zero;
|
||||
tensor J = Zero;
|
||||
|
||||
if (args.optionFound("shellProperties"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user