|
[Sponsors] |
![]() |
![]() |
#381 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 7 ![]() |
Hi IHFOAM team,
Is there any compressible solver (e.g. compressibleinterfoam) already implemented in IHFOAM? Thanks, Tommaso |
|
![]() |
![]() |
![]() |
![]() |
#382 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Hi Tommaso,
Yes, you can use the waves library in a compressible solver (compressibleInterFoam). And yes, we have our own version of a porous medium solver for compressible cases. Please, check this presentation: https://www.researchgate.net/publication/361998233_Novel_Methodology_for_a_Fast_3D_Numerica l_Analysis_of_The_PTO_Damping_Force_on_a_Dual-Chamber_OWC Best, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|
![]() |
![]() |
![]() |
![]() |
#383 | |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Hi AlxB,
Quote:
Please, check carefully that the initial seeding of the turbulence is correct: https://www.cfd-online.com/Wiki/Turbulence_free-stream_boundary_conditions Best, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
||
![]() |
![]() |
![]() |
![]() |
#384 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 7 ![]() |
Hi,
I modified the wave/solitary tutorial using the solver compressibleInterFoam, however it gives the following error: PIMPLE: Operating solver in PISO mode Reading field p_rgh Reading field U Reading/calculating face flux field phi Constructing twoPhaseMixtureThermo Selecting surfaceTensionModel constant Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectFluid; specie specie; energy sensibleInternalEnergy; } Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } #0 Foam::error: ![]() #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in /lib64/libpthread.so.0 #3 Foam::heThermo<Foam::rhoThermo, Foam: ![]() ![]() #4 Foam::heThermo<Foam::rhoThermo, Foam: ![]() ![]() #5 Foam::heThermo<Foam::rhoThermo, Foam: ![]() ![]() #6 Foam::rhoThermo::addfvMeshConstructorToTable<Foam: :heRhoThermo<Foam::rhoThermo, Foam: ![]() ![]() #7 Foam::autoPtr<Foam::rhoThermo> Foam::basicThermo::New<Foam::rhoThermo>(Foam::fvMe sh const&, Foam::word const&) at ??:? #8 Foam::rhoThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:? #9 Foam::twoPhaseMixtureThermo::twoPhaseMixtureThermo (Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) at ??:? #10 ? at ??:? #11 __libc_start_main in /lib64/libc.so.6 #12 ? at ??:? Any ideas where this comes from? Thanks! |
|
![]() |
![]() |
![]() |
![]() |
#385 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Hi Tommaso
I am afraid we cannot understand or fix the error with just the log file. Sorry, IHFOAM Team p.s: Just curious, does your surname start with an A?
__________________
http://ihfoam.ihcantabria.com/ |
|
![]() |
![]() |
![]() |
![]() |
#386 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#387 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Great, well done !!!
( Good luck with the air pockets ![]() IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|
![]() |
![]() |
![]() |
![]() |
#388 |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 5 ![]() |
Hi, I have problem to generate irregular waves with one direction. Can you help me?
Thanks |
|
![]() |
![]() |
![]() |
![]() |
#389 | |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Hola Lucia,
Quote:
![]() Best, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
||
![]() |
![]() |
![]() |
![]() |
#390 |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 5 ![]() |
I try to reproduce a channel with a slope and a rubble mound breakwater, regular and irregular waves conditions.
With regular waves I haven't problems but with irregular waves I don't understand gow to setup the wavePropeerties file. I see the case irregularMultiDirectional in interFoam and I notice that there are a "series" of periods, heights, etc I don't understand how to derive this series and I want know if there is a way to setup only Tp and Hs like in waves2Foam. Thank you very much! |
|
![]() |
![]() |
![]() |
![]() |
#391 | |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 5 ![]() |
Quote:
With regular waves I haven't problems but with irregular waves I don't understand gow to setup the wavePropeerties file. I see the case irregularMultiDirectional in interFoam and I notice that there are a "series" of periods, heights, etc I don't understand how to derive this series and I want know if there is a way to setup only Tp and Hs like in waves2Foam. Thank you very much! |
||
![]() |
![]() |
![]() |
![]() |
#392 | |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 121
Rep Power: 9 ![]() |
Hi there again,
Quote:
Best, IHFOAM TEAM p.d: Sorry, you can not just define Tp or Hs in our model, we believe that following our choice is much better to generate "fast & correct" irregular cases.
__________________
http://ihfoam.ihcantabria.com/ |
||
![]() |
![]() |
![]() |
![]() |
#393 | |
New Member
Benjamin Norris
Join Date: Oct 2020
Location: California
Posts: 17
Rep Power: 6 ![]() |
Quote:
IHFOAM does contain a tutorial case for irregular waves if you haven't found it already, Code:
<OpenFOAM directory>/tutorials/multiphase/interFoam/laminar/waves/irregularMultiDirection To estimate wave period, height, and phase, well it depends on what data you're working with. For example, when I was using the irregular wave model, I computed the fft of a sea surface pressure time series recorded by an instrument, and used the complex spectrum to calculate wave height (= 2*amplitude), period (1/frequency), and wave phase for each frequency component. If you lack instrument data, you could simply use a program (e.g., https://www.mathworks.com/matlabcent...2-wavemodeling) to generate a spectrum and then calculate these components yourself. Hope that helps, Ben |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver: k when udf loaded | google9002 | Fluent UDF and Scheme Programming | 3 | November 8, 2019 00:34 |
udf problem | jane | Fluent UDF and Scheme Programming | 37 | February 20, 2018 05:17 |
UDF velocity profile | willroca | Fluent UDF and Scheme Programming | 2 | January 10, 2016 04:13 |
Error messages | atg | enGrid | 7 | August 30, 2013 12:16 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |