Skip to content

Latest commit

 

History

History
130 lines (93 loc) · 4.06 KB

waves2Foam.md

File metadata and controls

130 lines (93 loc) · 4.06 KB

waves2Foam notes

ExternalForcing option - dependencies

oceanWave3D.C is dependent on externalWaveForcing.C

cd /private/tike/OpenFOAM/tike-v1912/applications/utilities/waves2Foam/src/waves2Foam/Make/linux64GccDPInt32Opt/waveTheories/externalWaveForcing```



/* METHODS FOR CUTTING OF CONVEX FACES AND CELLS */
convex=convexPolyhedral
$(convex)/convexPolyhedral.C
$(convex)/localFace.C
$(convex)/localCell.C
$(convex)/localCellNeg.C

/* ABSTRACT BASE CLASS FOR IMPLEMENTATION OF WAVE THEORIES */
waveTheories=waveTheories
waveTheory=waveTheory

$(waveTheories)/$(waveTheory)/waveTheory.C
$(waveTheories)/$(waveTheory)/newWaveTheory.C

/* WAVE THEORIES */

/* Current type */
current=current
$(waveTheories)/$(current)/potentialCurrent/potentialCurrent.C

/* Solitary type */
solitary=solitary
$(waveTheories)/$(solitary)/solitaryFirst/solitaryFirst.C
$(waveTheories)/$(solitary)/chappelear1962/chappelear1962.C

/* Regular wave theories */
regular=regular

/* Stokes Theory */
$(waveTheories)/$(regular)/stokesFirst/stokesFirst.C
$(waveTheories)/$(regular)/stokesFirstStanding/stokesFirstStanding.C
$(waveTheories)/$(regular)/stokesSecond/stokesSecond.C
$(waveTheories)/$(regular)/stokesSecondModulation/stokesSecondModulation.C
$(waveTheories)/$(regular)/stokesFifth/stokesFifth.C

/* Cnoidal Theory */
$(waveTheories)/$(regular)/cnoidalFirst/cnoidalFirst.C

/* Streamfunction Theory */
$(waveTheories)/$(regular)/streamFunction/streamFunction.C

/* Irregular wave theories */
irregular=irregular
$(waveTheories)/$(irregular)/irregular/irregular.C
$(waveTheories)/$(irregular)/bichromaticFirst/bichromaticFirst.C
$(waveTheories)/$(irregular)/bichromaticSecond/bichromaticSecond.C

/* Mixed type wave theories */
mixedType=mixedType
$(waveTheories)/$(mixedType)/combinedWaves/combinedWaves.C

/* External wave source */
extWF=externalWaveForcing
$(waveTheories)/$(extWF)/externalSource.C
$(waveTheories)/$(extWF)/externalWaveForcing.C
$(waveTheories)/$(extWF)/emptyExternal/emptyExternal.C
$(waveTheories)/$(extWF)/oceanWave3D/oceanWave3D.C
$(waveTheories)/$(extWF)/irregularFast/irregularFast.C

/* WAVE BOUNDARY CONDITIONS */ 
fvPatchFields=fvPatchFields
$(fvPatchFields)/waveAlpha/waveAlphaFvPatchScalarField.C
/*$(fvPatchFields)/wavePressure/wavePressureFvPatchScalarField.C*/
$(fvPatchFields)/waveVelocity/waveVelocityFvPatchVectorField.C

/* RELAXATION METHOD */
relaxMethod=relaxationZone

/* Relaxation Shapes */
relaxShape=relaxationShape

$(relaxMethod)/$(relaxShape)/relaxationShape.C
$(relaxMethod)/$(relaxShape)/newRelaxationShape.C
$(relaxMethod)/$(relaxShape)/frozen/relaxationShapeFrozen.C
$(relaxMethod)/$(relaxShape)/rectangular/relaxationShapeRectangular.C
$(relaxMethod)/$(relaxShape)/cylindrical/relaxationShapeCylindrical.C
$(relaxMethod)/$(relaxShape)/semiCylindrical/relaxationShapeSemiCylindrical.C

/* Derived relaxation shapes */
$(relaxMethod)/$(relaxShape)/line/relaxationShapeLine.C

/* Relaxation Weights */
relaxWeight=relaxationWeight

$(relaxMethod)/$(relaxWeight)/relaxationWeight.C
$(relaxMethod)/$(relaxWeight)/relaxationWeightCourantCorrection.C

$(relaxMethod)/$(relaxWeight)/exponential/relaxationWeightExponential.C
$(relaxMethod)/$(relaxWeight)/freePolynomial/relaxationWeightFreePolynomial.C
$(relaxMethod)/$(relaxWeight)/thirdOrderPolynomial/relaxationWeightThirdOrderPolynomial.C

/* Relaxation Schemes */
relaxScheme=relaxationScheme

$(relaxMethod)/$(relaxScheme)/relaxationScheme.C
$(relaxMethod)/$(relaxScheme)/newRelaxationScheme.C

$(relaxMethod)/$(relaxScheme)/empty/relaxationSchemeEmpty.C
$(relaxMethod)/$(relaxScheme)/spatial/relaxationSchemeSpatial.C
$(relaxMethod)/$(relaxScheme)/spatialInterpolation/relaxationSchemeSpatialInterpolation.C

/* Numerical Beaches */
numericalBeach=numericalBeach

$(relaxMethod)/$(numericalBeach)/numericalBeach.C
$(relaxMethod)/$(numericalBeach)/newNumericalBeach.C

$(relaxMethod)/$(numericalBeach)/empty/numericalBeachEmpty.C

/* Relaxation Zone */
$(relaxMethod)/relaxationZone.C

/* Set Wave Field - here for compilation reasons */
setWaveField/setWaveField.C

/* Helper functions for cross version compatibility */
include/crossVersionCompatibility.C