|
[Sponsors] |
March 7, 2023, 15:49 |
Compressible fluid solver
|
#381 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 6 |
Hi IHFOAM team,
Is there any compressible solver (e.g. compressibleinterfoam) already implemented in IHFOAM? Thanks, Tommaso |
|
March 8, 2023, 04:02 |
|
#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/ |
|
March 8, 2023, 04:08 |
|
#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/ |
||
March 15, 2023, 07:39 |
compressibleInterFoam
|
#384 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 6 |
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:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in /lib64/libpthread.so.0 #3 Foam::heThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleInternalEnergy> > > >::he(Foam::Field<double> const&, Foam::Field<double> const&, int) const at ??:? #4 Foam::heThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleInternalEnergy> > > >::init(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&) at ??:? #5 Foam::heThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleInternalEnergy> > > >::heThermo(Foam::fvMesh const&, Foam::word const&) at ??:? #6 Foam::rhoThermo::addfvMeshConstructorToTable<Foam: :heRhoThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleInternalEnergy> > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:? #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! |
|
March 30, 2023, 07:28 |
|
#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/ |
|
March 30, 2023, 07:52 |
|
#386 |
New Member
Tommaso
Join Date: Jan 2020
Posts: 16
Rep Power: 6 |
||
March 30, 2023, 08:13 |
|
#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/ |
|
September 4, 2023, 10:58 |
|
#388 |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 4 |
Hi, I have problem to generate irregular waves with one direction. Can you help me?
Thanks |
|
September 4, 2023, 12:12 |
|
#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/ |
||
September 4, 2023, 12:38 |
|
#390 |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 4 |
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! |
|
September 4, 2023, 12:39 |
|
#391 | |
New Member
Lucia Ligorio
Join Date: Feb 2022
Posts: 14
Rep Power: 4 |
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! |
||
September 5, 2023, 08:46 |
|
#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/ |
||
September 8, 2023, 19:10 |
Irregular waves model
|
#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 |
||
|
|
Similar Threads | ||||
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 |