Download data/tutorials/incompressibleVoF/floatingObjectWaves/constant/fvModels from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/incompressibleVoF/floatingObjectWaves/constant/fvModels
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/incompressibleVoF/floatingObjectWaves/constant/fvModels
-
curl -L -o fvModels https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/incompressibleVoF/floatingObjectWaves/constant/fvModels
1.28 kB
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| \*---------------------------------------------------------------------------*/ | |
| FoamFile | |
| { | |
| format ascii; | |
| class dictionary; | |
| location "constant"; | |
| object fvModels; | |
| } | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| forcing | |
| { | |
| type waveForcing; | |
| libs ("libwaves.so"); | |
| liquidPhase water; | |
| origins | |
| ( | |
| (0 0.75 0.5) | |
| (0 0.25 0.5) | |
| (0.25 0 0.5) | |
| (0.75 0 0.5) | |
| ); | |
| directions | |
| ( | |
| ( 0 1 0) | |
| ( 0 -1 0) | |
| (-1 0 0) | |
| ( 1 0 0) | |
| ); | |
| scale | |
| { | |
| type halfCosineRamp; | |
| start 0; | |
| duration 0.5; | |
| } | |
| lambdaCoeff 5; | |
| lambdaBoundaryCoeff 25; | |
| // Write the forcing fields: forcing:scale, forcing:forceCoeff | |
| writeForceFields true; | |
| } | |
| // ************************************************************************* // | |