February 27, 2024, 10:04
|
I can't simulate cnoidal waves with waves2foam
|
#1
|
New Member
Marion Sant
Join Date: Dec 2023
Posts: 23
Rep Power: 3
|
Hi all!
I'm trying to simulate a cnoidal wave propagatin in a 2D flume with waves2foam.
However, when I run setWaveField, I get this error:
Code:
--> FOAM FATAL ERROR: (openfoam-2206 patch=221104)
The chosen wave theory does not implement the pressure.
From void gabcPressureRobinVFvPatchScalarField::checkPressure()
in file fvPatchFields/derived/gabcPressureRobinV/gabcPressureRobinVFvPatchScalarField.C at line 223.
FOAM exiting
In the waveParameters.input file, I just modified a few thing starting from a solitary wave simulation that worked properly. I should have set all the necessary parameters accordint to the waves2foam Manual.
I will attach here the setWaveField.log file and also my waveProperties.input file and the relative waveProperties file generated, so that you could take a look.
Thanks to anyone that will help me!
|
|
|