Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
09db19c3
Commit
09db19c3
authored
Feb 12, 2020
by
mattijs
Browse files
Merge remote-tracking branch 'origin/master' into develop
parents
80b5d3a1
ff19bedb
Changes
4
Hide whitespace changes
Inline
Side-by-side
etc/config.csh/setup
View file @
09db19c3
...
...
@@ -5,11 +5,10 @@
# \\ / A nd | www.openfoam.com
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2018-20
19
OpenCFD Ltd.
# Copyright (C) 2018-20
20
OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# File
# etc/config.csh/setup
...
...
@@ -89,7 +88,7 @@ endif
# Capture and evaluate any command-line parameters
# These can be used to set/unset values, specify additional files etc.
setenv FOAM_SETTINGS
"
$
{
*
}
"
setenv FOAM_SETTINGS
"
$
argv
[*]
"
while
(
$#argv
>
0
)
switch
(
$argv
[
1]
)
...
...
etc/cshrc
View file @
09db19c3
...
...
@@ -180,7 +180,7 @@ endif
# Finalize setup of OpenFOAM environment
if
(
-d
"
$WM_PROJECT_DIR
"
)
then
if
(
$?
FOAM_VERBOSE
&&
$?
prompt
)
echo
"source
$WM_PROJECT_DIR
/etc/config.csh/setup"
source
"
$WM_PROJECT_DIR
/etc/config.csh/setup"
"
${
*
}
"
source
"
$WM_PROJECT_DIR
/etc/config.csh/setup"
$argv
[
*
]
else
echo
"Error: did not locate installation path for
$WM_PROJECT
-
$WM_PROJECT_VERSION
"
echo
"No directory:
$WM_PROJECT_DIR
"
...
...
src/OpenFOAM/meshes/primitiveMesh/primitiveMeshCellCentresAndVols.C
View file @
09db19c3
...
...
@@ -82,15 +82,18 @@ void Foam::primitiveMesh::makeCellCentresAndVols
{
typedef
Vector
<
solveScalar
>
solveVector
;
// Clear the fields for accumulation. Note1: we're doing this before
// any precision conversion since this might complain about illegal numbers.
// Note2: zero is a special value which is perfectly converted into zero
// in the new precision
cellCtrs_s
=
Zero
;
cellVols_s
=
0
.
0
;
PrecisionAdaptor
<
solveVector
,
vector
>
tcellCtrs
(
cellCtrs_s
);
Field
<
solveVector
>&
cellCtrs
=
tcellCtrs
.
ref
();
PrecisionAdaptor
<
solveScalar
,
scalar
>
tcellVols
(
cellVols_s
);
Field
<
solveScalar
>&
cellVols
=
tcellVols
.
ref
();
// Clear the fields for accumulation
cellCtrs
=
Zero
;
cellVols
=
0
.
0
;
const
labelList
&
own
=
faceOwner
();
const
labelList
&
nei
=
faceNeighbour
();
...
...
tutorials/incompressible/pimpleFoam/LES/surfaceMountedCube/README
View file @
09db19c3
...
...
@@ -13,5 +13,4 @@ Eddy Simulation (IDDES) model
For further details please visit:
openfoam.com/documentation/cpp-guide/html/verification-validation-turbulent-surface-mounted-cube.html
https://www.openfoam.com/documentation/guides/latest/doc/verification-validation-turbulent-surface-mounted-cube.html
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment