Skip to content

Commit

Permalink
Initial import from 2016.02.00 release: svn r9987
Browse files Browse the repository at this point in the history
  • Loading branch information
vchendrix committed Jun 21, 2017
0 parents commit 40c7af9
Show file tree
Hide file tree
Showing 59 changed files with 1,506,073 additions and 0 deletions.
11 changes: 11 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright <YEAR> <COPYRIGHT HOLDER>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
61 changes: 61 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# A simple makefile for creating the Wetted Wall Column distribution tarball
VERSION := 2016.02.00
PRODUCT := Wetted Wall Column Simulation
PROD_SNAME := WWC
LICENSE := CCSI_TE_LICENSE_$(PROD_SNAME).txt
PKG_DIR := CCSI_$(PROD_SNAME)_$(VERSION)
PACKAGE := $(PKG_DIR).tgz

# Where Jenkins should checkout ^/projects/common/trunk/
COMMON := .ccsi_common
LEGAL_DOCS := LEGAL \
CCSI_TE_LICENSE.txt

PAYLOAD := docs/*.pdf \
WWC \
sample_files \
LEGAL \
$(LICENSE)

# Get just the top part (not dirname) of each entry so cp -r does the right thing
PAYLOAD_TOPS := $(foreach v,$(PAYLOAD),$(shell echo $v | cut -d'/' -f1))
# And the payload with the PKG_DIR prepended
PKG_PAYLOAD := $(addprefix $(PKG_DIR)/, $(PAYLOAD))

# OS detection & changes
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
MD5BIN=md5sum
endif
ifeq ($(UNAME), Darwin)
MD5BIN=md5
endif
ifeq ($(UNAME), FreeBSD)
MD5BIN=md5
endif

.PHONY: all clean

all: $(PACKAGE)

# Make compressed tar file without timestamp (gzip -n) so md5sum
# doesn't change if the payload hasn't
$(PACKAGE): $(PAYLOAD)
@mkdir $(PKG_DIR)
@cp -r $(PAYLOAD_TOPS) $(PKG_DIR)
@tar -cf - $(PKG_PAYLOAD) | gzip -n > $(PACKAGE)
@$(MD5BIN) $(PACKAGE)
@rm -rf $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)

$(LICENSE): CCSI_TE_LICENSE.txt
@sed "s/\[SOFTWARE NAME \& VERSION\]/$(PRODUCT) v.$(VERSION)/" < CCSI_TE_LICENSE.txt > $(LICENSE)

$(LEGAL_DOCS):
@if [ -d $(COMMON) ]; then \
cp $(COMMON)/$@ .; \
else \
svn -q export ^/projects/common/trunk/$@; \
fi

clean:
@rm -rf $(PACKAGE) $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# WWC
**WWC: OpenFOAM Wetted Wall Simulation Package**
A CFD model developed to simulate the hydrodynamics of falling film in wetted wall column, coupled with mass transfer and absorption of gas species.

## Development Practices

* Code development will be peformed in a forked copy of the repo. Commits will not be
made directly to the ngt-archive repo. Developers will submit a pull
request that is then merged by another team member, if another team member is available.
* Each pull request should contain only related modifications to a feature or bug fix.
* Sensitive information (secret keys, usernames etc) and configuration data
(e.g database host port) should not be checked in to the repo.
* A practice of rebasing with the main repo should be used rather that merge commmits.

## Getting Started

TBD

## Authors

* Chao Wang
* Zhijie (Jay) Xu

See also the list of [contributors](https://github.com/CCSI-Toolset/WWC/contributors) who participated in this project.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available,
see the [tags on this repository](https://github.com/WWC/tags).

## License

See [LICENSE.md](LICENSE.md) file for details

## Copyright Notice

TBD
12 changes: 12 additions & 0 deletions WWC/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x

wclean
wclean interDyMFoam
wclean MRFInterFoam
wclean porousInterFoam
wclean LTSInterFoam
wclean interMixingFoam

# ----------------------------------------------------------------- end-of-file
12 changes: 12 additions & 0 deletions WWC/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x

wmake
wmake interDyMFoam
wmake MRFInterFoam
wmake porousInterFoam
wmake LTSInterFoam
wmake interMixingFoam

# ----------------------------------------------------------------- end-of-file
3 changes: 3 additions & 0 deletions WWC/Make/files
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
interFoam.C

EXE = $(FOAM_APPBIN)/interFoam
1 change: 1 addition & 0 deletions WWC/Make/linux64GccDPOpt/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dependencies up to date
2 changes: 2 additions & 0 deletions WWC/Make/linux64GccDPOpt/dependencyFiles
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DEPENDENCIES = \
interFoam.dep
Empty file.
6 changes: 6 additions & 0 deletions WWC/Make/linux64GccDPOpt/files
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 1 "files"
# 1 "<command-line>"
# 1 "files"
interFoam.C

EXE = $(FOAM_APPBIN)/interFoam
1 change: 1 addition & 0 deletions WWC/Make/linux64GccDPOpt/filesMacros
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EXE = $(FOAM_APPBIN)/interFoam
1 change: 1 addition & 0 deletions WWC/Make/linux64GccDPOpt/includeDeps
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include interFoam.dep
2 changes: 2 additions & 0 deletions WWC/Make/linux64GccDPOpt/localObjectFiles
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LOCAL_OBJECTS = \
interFoam.o
2 changes: 2 additions & 0 deletions WWC/Make/linux64GccDPOpt/objectFiles
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
OBJECTS = \
$(OBJECTS_DIR)/interFoam.o
7 changes: 7 additions & 0 deletions WWC/Make/linux64GccDPOpt/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 1 "options"
# 1 "<command-line>"
# 1 "options"
EXE_INC = -I$(LIB_SRC)/transportModels -I$(LIB_SRC)/transportModels/incompressible/lnInclude -I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude -I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel -I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I$(LIB_SRC)/fvOptions/lnInclude -I$(LIB_SRC)/sampling/lnInclude
# 10 "options"

EXE_LIBS = -linterfaceProperties -ltwoPhaseInterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools -lfvOptions -lsampling
2 changes: 2 additions & 0 deletions WWC/Make/linux64GccDPOpt/sourceFiles
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SOURCE = \
interFoam.C
21 changes: 21 additions & 0 deletions WWC/Make/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
EXE_INC = \
-I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/incompressible/lnInclude \
-I$(LIB_SRC)/transportModels/interfaceProperties/lnInclude \
-I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/fvOptions/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude

EXE_LIBS = \
-linterfaceProperties \
-ltwoPhaseInterfaceProperties \
-lincompressibleTransportModels \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lfiniteVolume \
-lmeshTools \
-lfvOptions \
-lsampling
Loading

0 comments on commit 40c7af9

Please sign in to comment.