[root]/CCA/Components/Wasatch/Expressions/BoundaryConditions
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 34 (100.0%) | 257 (100.0%) | 7.5 |
tsaad | 8 (23.5%) | 220 (85.6%) | 27.5 |
jas | 22 (64.7%) | 14 (5.4%) | 0.6 |
ahumphrey | 1 (2.9%) | 10 (3.9%) | 10.0 |
dav | 2 (5.9%) | 7 (2.7%) | 3.5 |
jsutherland | 1 (2.9%) | 6 (2.3%) | 6.0 |
Add support for compressible Navier-Stokes Boundary Conditions (NSCBC) for the compressible algorithm.
This commit introduces several changes across wasatch:
1. Support for non reflecting boundaries, Hard Inlets, and Walls. We don't have a case working with Inlets yet.
2. Start migration towards a new BC specification method. This new approach requires a bit more programming, but removes ambiguity from stencil operations at the boundary as well as which mask points are to be used.
3. Use the speed sound in the calculation of the stable timestep when the compressible algorithm is switched on
4. Add regression tests for the NSCBCs
5. Various other changes that are to small to cite.
NOTE: The NSCBCs DO NOT work in parallel because of different dependencies on different patches. This will be addressed in future commits.
This commit will break the RT.
219 lines of code changed in 6 files:
Replace usage of NULL macro (type int) with nullptr (pointer literal of type: nullptr_t).
nullptr is implicitly convertible and comparable to any pointer type or pointer-to-member type, but is not implicitly comparable to integral types, except that it is convertible to bool (explicitly).
10 lines of code changed in 1 file:
Fix the problem with fortran .h files (in Arches) not being generated correctly (on the binary
side) when CUDA is turned on.
Update the make system so that the dependency rules for CUDA enabled files are created
automatically. The user no-longer has to specify that each CUDA_ENABLED_SRCS .cu file
depends on the corresponding .cc file. Updated both Wasatch and Arches to use the
new approach.
M Makefile.in
- Add a 'function' (make-cuda-target) that will create CUDA dependency rules automatically,
instead of having the developer have to list the rules manually. This function must
be called in each sub.mk file that creates a CUDA_ENABLED_SRCS list.
- Remove all .cu and (mostly fortran) .h files from the <bin> side when
"make cleanreally" is called.
M configure
M configure.ac
- Put in check to verify that Uintah and Wasatch 3P are both (or neither) being
built with CUDA.
- Will also add Candera check once I get more info.
A include/sci_defs/wasatch_testdefs.h.in
- Place PoKitt and Candera defines in new (configure generated binary side) wasatch_defs.h
file.
M CCA/Components/Arches/sub.mk
- Fix fortran .h file dependency problem. Note, these dependencies are have been (and
continue to be) manually entered into the sub.mk file. However, previously, they
used multiple lines (eg: Source.$(OBJEXT) was written 5 times. You don't need to
do this, you can just list it once and then put all the files it depends on.
When building without CUDA, the fortran .h files are needed to create
the object files (eg: Source.o). However, if CUDA is turned on, then they are
needed to create the CUDA .cu file (eg: <bin>/Source.cu). Perviously, at least
on some machines (though the problem should have shown up on all machines?), the fortran
.h files were not being generated.
It appears that currently Arches/sub.mk is the only directory that has CUDA files that
are dependent on fortran .h files. If this occurs in other sub-dirs for Arches (as
CUDA is added to the code), then the same approach should be taken in those files.
M CCA/Components/Arches/ChemMix/sub.mk
M CCA/Components/Arches/CoalModels/sub.mk
M CCA/Components/Arches/LagrangianParticles/sub.mk
M CCA/Components/Arches/Operators/sub.mk
M CCA/Components/Arches/ParticleModels/sub.mk
M CCA/Components/Arches/PropertyModels/sub.mk
M CCA/Components/Arches/PropertyModelsV2/sub.mk
M CCA/Components/Arches/SourceTerms/sub.mk
M CCA/Components/Arches/Task/sub.mk
M CCA/Components/Arches/Transport/sub.mk
M CCA/Components/Arches/TransportEqns/sub.mk
M CCA/Components/Arches/Utility/sub.mk
M CCA/Components/Arches/WallHTModels/sub.mk
M CCA/Components/Wasatch/Expressions/BoundaryConditions/sub.mk
M CCA/Components/Wasatch/Expressions/MMS/sub.mk
M CCA/Components/Wasatch/Expressions/PostProcessing/sub.mk
M CCA/Components/Wasatch/Expressions/Turbulence/sub.mk
M CCA/Components/Wasatch/Expressions/sub.mk
M CCA/Components/Wasatch/Operators/sub.mk
M CCA/Components/Wasatch/Transport/sub.mk
M CCA/Components/Wasatch/sub.mk
- Call make system function make-cuda-target to generate CUDA .cu dependencies.
7 lines of code changed in 2 files:
Clean up some doxygen warnings.
6 lines of code changed in 1 file:
cleanup a bunch of header inclusions and move some code around to simplify operator usage
0 lines of code changed in 1 file:
Update copyright date to 2016.
14 lines of code changed in 22 files:
Wall boundary conditions for compressible flows. setup the framework for parsing and specifying boundary conditions.
Currently need to specify the BC for the conserved total internal energy. Next we will provide support for specifying temperature rather than energy at walls.
1 lines of code changed in 1 file: