Skip to content

Commit

Permalink
Initial import from 2016.02.00 release: svn r9796
Browse files Browse the repository at this point in the history
Expanded OpenFoamCase/Water_case.tar to OpenFoamCase/WaterCase directory
  • Loading branch information
vchendrix committed Jun 21, 2017
0 parents commit 32f4a95
Show file tree
Hide file tree
Showing 22 changed files with 936 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.cas filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions FluentFilmCase/film.cas
Git LFS file not shown
3 changes: 3 additions & 0 deletions FluentRivuletCase/rivulet.cas
Git LFS file not shown
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.
62 changes: 62 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# A simple makefile for packaging the:
# Report on liquid film flow over an inclined plate: effect of solvent properties
VERSION := 2014.10.00
PRODUCT := VOF Area Correlation
PROD_SNAME := VOF_Area_Correlation
LICENSE := CCSI_TE_LICENSE_$(PROD_SNAME).txt
PKG_DIR := CCSI_$(PROD_SNAME)_$(VERSION)
PACKAGE := $(PKG_DIR).zip

# Where Jenkins should checkout ^/projects/common/trunk/
COMMON := .ccsi_common

LEGAL_DOCS := LEGAL \
CCSI_TE_LICENSE.txt

PAYLOAD := docs/*.pdf \
FluentFilmCase \
FluentRivuletCase \
OpenFoamCase \
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)

$(PACKAGE): $(PAYLOAD)
@mkdir $(PKG_DIR)
@cp -r $(PAYLOAD_TOPS) $(PKG_DIR)
@zip -qrX $(PACKAGE) $(PKG_PAYLOAD)
@$(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)
70 changes: 70 additions & 0 deletions OpenFoamCase/Water_case/0/U
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{

Side
{
type fixedValue;
value uniform (0 0 0);
}

Bottom
{
type fixedValue;
value uniform (0 0 0);
}

Top
{
type zeroGradient;
}

Inlet-Top
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

Inlet
{
type flowRateInletVelocity;
volumetricFlowRate constant 2.e-06;
value uniform (0 0 0);
}

Exit
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}


defaultFaces
{
type empty;
}

}


// ************************************************************************* //
65 changes: 65 additions & 0 deletions OpenFoamCase/Water_case/0/alpha1
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object alpha;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
Side
{
type zeroGradient;
}

Bottom
{
//type zeroGradient;
type constantAlphaContactAngle;
theta0 70;
limit gradient;
value uniform 0;
}

Top
{
type zeroGradient;
}

Inlet-Top
{
type zeroGradient;
}

Inlet
{
type fixedValue;
inletValue uniform 1;
value uniform 1;
}

Exit
{
type zeroGradient;
}

defaultFaces
{
type empty;
}
}

// ************************************************************************* //
78 changes: 78 additions & 0 deletions OpenFoamCase/Water_case/0/p_rgh
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
Side
{
type fixedFluxPressure;
value uniform 0;
}

Bottom
{
type fixedFluxPressure;
value uniform 0;
}

Top
{
type zeroGradient;
}

Inlet-Top
{
//type zeroGradient;
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}

Inlet
{
type fixedFluxPressure;
value uniform 0;
}

Exit
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}


defaultFaces
{
type empty;
}
}

// ************************************************************************* //
21 changes: 21 additions & 0 deletions OpenFoamCase/Water_case/constant/dynamicMeshDict
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh staticFvMesh;


// ************************************************************************* //
22 changes: 22 additions & 0 deletions OpenFoamCase/Water_case/constant/g
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class uniformDimensionedVectorField;
location "constant";
object g;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -2 0 0 0 0];
value ( 0 0 -9.81 );


// ************************************************************************* //
Loading

0 comments on commit 32f4a95

Please sign in to comment.