Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
d06821b4
Commit
d06821b4
authored
15 years ago
by
henry
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
parents
bb65911c
84f38f1c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Pstream/mpi/UPstream.C
+2
-2
2 additions, 2 deletions
src/Pstream/mpi/UPstream.C
tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict
+10
-0
10 additions, 0 deletions
...DyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict
with
12 additions
and
2 deletions
src/Pstream/mpi/UPstream.C
+
2
−
2
View file @
d06821b4
...
...
@@ -177,7 +177,7 @@ void Foam::reduce(scalar& Value, const sumOp<scalar>& bop)
{
if
(
Pstream
::
debug
)
{
Pout
<<
"
UPstre
am::reduce : value:"
<<
Value
<<
endl
;
Pout
<<
"
Fo
am::reduce : value:"
<<
Value
<<
endl
;
}
if
(
!
UPstream
::
parRun
())
...
...
@@ -452,7 +452,7 @@ void Foam::reduce(scalar& Value, const sumOp<scalar>& bop)
if
(
Pstream
::
debug
)
{
Pout
<<
"
UPstre
am::reduce : reduced value:"
<<
Value
<<
endl
;
Pout
<<
"
Fo
am::reduce : reduced value:"
<<
Value
<<
endl
;
}
}
...
...
This diff is collapsed.
Click to expand it.
tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/dynamicMeshDict
+
10
−
0
View file @
d06821b4
...
...
@@ -19,14 +19,23 @@ dynamicFvMesh dynamicRefineFvMesh;
dynamicRefineFvMeshCoeffs
{
// How often to refine
refineInterval 1;
// Field to be refinement on
field alpha1;
// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
// If value < unrefineLevel unrefine
unrefineLevel 10;
// Have slower than 2:1 refinement
nBufferLayers 1;
// Refine cells only up to maxRefinement levels
maxRefinement 2;
// Stop refinement if maxCells reached
maxCells 200000;
// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity.
correctFluxes
(
(
...
...
@@ -34,6 +43,7 @@ dynamicRefineFvMeshCoeffs
U
)
);
// Write the refinement level as a volScalarField
dumpLevel true;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment