|
[Sponsors] |
Not achieving to generate wave+current in OpenFOAM ESI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2023, 07:30 |
Not achieving to generate wave+current in OpenFOAM ESI
|
#1 |
New Member
Hugo
Join Date: Jun 2023
Posts: 4
Rep Power: 3 |
Hi everyone, I am trying to do ship resistance in waves in OpenFoam2206. However I don't know how to set the current to simulate de vessel velocity. When a put a velocity in waveVelocity a ramp of water is generated and the simulation crashes. The last thing I tried is emulate the waveProperties dict of the OF.org version.
Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2206 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object waveProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // inlet { alpha alpha.water; waveModel cnoidal; nPaddle 1; waveHeight 0.00; waveAngle 0.0; rampTime 2.0; activeAbsorption yes; wavePeriod 1.0; // Flow Current Parameters flowCurrent { type velocity; U (-2.0 0.0 0.0); // Current velocity components in (x, y, z) directions } } outlet { alpha alpha.water; waveModel shallowWaterAbsorption; nPaddle 1; } // ************************************************************************* // I know that with OF.org version can be done, but I trying to do it with an overSet which is not available for the foundation version. If anyone has an idea of how could be solved or where is the error, i would be glad to listen to. Thanks in advance! |
|
Tags |
current, openfoam esi, wave generation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Generate Focused Wave | Freya | REEF3D | 10 | August 18, 2021 05:26 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
generate linear wave in fluent | happyqj | FLUENT | 1 | March 18, 2012 05:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |