Skip to content

Commit 40c7af9

Browse files
committed
Initial import from 2016.02.00 release: svn r9987
0 parents  commit 40c7af9

59 files changed

Lines changed: 1506073 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Copyright <YEAR> <COPYRIGHT HOLDER>
2+
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
7+
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.
8+
9+
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.
10+
11+
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.

Makefile

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# A simple makefile for creating the Wetted Wall Column distribution tarball
2+
VERSION := 2016.02.00
3+
PRODUCT := Wetted Wall Column Simulation
4+
PROD_SNAME := WWC
5+
LICENSE := CCSI_TE_LICENSE_$(PROD_SNAME).txt
6+
PKG_DIR := CCSI_$(PROD_SNAME)_$(VERSION)
7+
PACKAGE := $(PKG_DIR).tgz
8+
9+
# Where Jenkins should checkout ^/projects/common/trunk/
10+
COMMON := .ccsi_common
11+
LEGAL_DOCS := LEGAL \
12+
CCSI_TE_LICENSE.txt
13+
14+
PAYLOAD := docs/*.pdf \
15+
WWC \
16+
sample_files \
17+
LEGAL \
18+
$(LICENSE)
19+
20+
# Get just the top part (not dirname) of each entry so cp -r does the right thing
21+
PAYLOAD_TOPS := $(foreach v,$(PAYLOAD),$(shell echo $v | cut -d'/' -f1))
22+
# And the payload with the PKG_DIR prepended
23+
PKG_PAYLOAD := $(addprefix $(PKG_DIR)/, $(PAYLOAD))
24+
25+
# OS detection & changes
26+
UNAME := $(shell uname)
27+
ifeq ($(UNAME), Linux)
28+
MD5BIN=md5sum
29+
endif
30+
ifeq ($(UNAME), Darwin)
31+
MD5BIN=md5
32+
endif
33+
ifeq ($(UNAME), FreeBSD)
34+
MD5BIN=md5
35+
endif
36+
37+
.PHONY: all clean
38+
39+
all: $(PACKAGE)
40+
41+
# Make compressed tar file without timestamp (gzip -n) so md5sum
42+
# doesn't change if the payload hasn't
43+
$(PACKAGE): $(PAYLOAD)
44+
@mkdir $(PKG_DIR)
45+
@cp -r $(PAYLOAD_TOPS) $(PKG_DIR)
46+
@tar -cf - $(PKG_PAYLOAD) | gzip -n > $(PACKAGE)
47+
@$(MD5BIN) $(PACKAGE)
48+
@rm -rf $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)
49+
50+
$(LICENSE): CCSI_TE_LICENSE.txt
51+
@sed "s/\[SOFTWARE NAME \& VERSION\]/$(PRODUCT) v.$(VERSION)/" < CCSI_TE_LICENSE.txt > $(LICENSE)
52+
53+
$(LEGAL_DOCS):
54+
@if [ -d $(COMMON) ]; then \
55+
cp $(COMMON)/$@ .; \
56+
else \
57+
svn -q export ^/projects/common/trunk/$@; \
58+
fi
59+
60+
clean:
61+
@rm -rf $(PACKAGE) $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# WWC
2+
**WWC: OpenFOAM Wetted Wall Simulation Package**
3+
A CFD model developed to simulate the hydrodynamics of falling film in wetted wall column, coupled with mass transfer and absorption of gas species.
4+
5+
## Development Practices
6+
7+
* Code development will be peformed in a forked copy of the repo. Commits will not be
8+
made directly to the ngt-archive repo. Developers will submit a pull
9+
request that is then merged by another team member, if another team member is available.
10+
* Each pull request should contain only related modifications to a feature or bug fix.
11+
* Sensitive information (secret keys, usernames etc) and configuration data
12+
(e.g database host port) should not be checked in to the repo.
13+
* A practice of rebasing with the main repo should be used rather that merge commmits.
14+
15+
## Getting Started
16+
17+
TBD
18+
19+
## Authors
20+
21+
* Chao Wang
22+
* Zhijie (Jay) Xu
23+
24+
See also the list of [contributors](https://github.com/CCSI-Toolset/WWC/contributors) who participated in this project.
25+
26+
## Versioning
27+
28+
We use [SemVer](http://semver.org/) for versioning. For the versions available,
29+
see the [tags on this repository](https://github.com/WWC/tags).
30+
31+
## License
32+
33+
See [LICENSE.md](LICENSE.md) file for details
34+
35+
## Copyright Notice
36+
37+
TBD

WWC/Allwclean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
cd ${0%/*} || exit 1 # run from this directory
3+
set -x
4+
5+
wclean
6+
wclean interDyMFoam
7+
wclean MRFInterFoam
8+
wclean porousInterFoam
9+
wclean LTSInterFoam
10+
wclean interMixingFoam
11+
12+
# ----------------------------------------------------------------- end-of-file

WWC/Allwmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
cd ${0%/*} || exit 1 # run from this directory
3+
set -x
4+
5+
wmake
6+
wmake interDyMFoam
7+
wmake MRFInterFoam
8+
wmake porousInterFoam
9+
wmake LTSInterFoam
10+
wmake interMixingFoam
11+
12+
# ----------------------------------------------------------------- end-of-file

WWC/Make/files

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
interFoam.C
2+
3+
EXE = $(FOAM_APPBIN)/interFoam
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dependencies up to date
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DEPENDENCIES = \
2+
interFoam.dep

WWC/Make/linux64GccDPOpt/dontIncludeDeps

Whitespace-only changes.

WWC/Make/linux64GccDPOpt/files

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 1 "files"
2+
# 1 "<command-line>"
3+
# 1 "files"
4+
interFoam.C
5+
6+
EXE = $(FOAM_APPBIN)/interFoam

0 commit comments

Comments
 (0)