|
[Sponsors] |
[waves2Foam] Problems with the compilation of the third party dependencies |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 9 ![]() |
COMPILE OCEANWAVE3D
===================================== Cloning the OceanWave3D git repository ... Cloning into 'OceanWave3D-Fortran90'... remote: Counting objects: 5013, done. remote: Total 5013 (delta 0), reused 0 (delta 0), pack-reused 5013 Receiving objects: 100% (5013/5013), 16.60 MiB | 6.21 MiB/s, done. Resolving deltas: 100% (3750/3750), done. Checking connectivity... done. Set the environmental variables for waves2Foam Exiting compilation process ## COMPILE THIRD PARTY DEPENDENCIES (cd ThirdParty; ./Allwmake) if [[ $? -ne 0 ]] then echo "" echo "Problems with the compilation of the third party dependencies" echo "Exiting" echo "" exit fi Problems with the compilation of the third party dependencies Exiting .... Hi all, I'm compiling wavefoam on a seperate workstation, and am encountering problems with ./Allwmake Any help is greatly appreciated , thanks in advanced ![]() Last edited by chia87; February 9, 2017 at 12:24. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
Good afternoon,
@Chia: You are missing dependencies (at least git). Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. Last edited by wyldckat; August 24, 2018 at 20:27. Reason: Copied from original post and removed answers to the other posts on other threads |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 9 ![]() |
Dear Niels,
Thanks for your help, i resolved the git issue earlier on Currently I'm faced with this problem Code:
readWaveProperties.H:1:1: error: ‘S’ was not declared in this scope S Info << "\nReading waveProperties" << endl; ^ In file included from waveFoam.C:80:0: createFvOptions.H:1:1: error: ‘IOoptionList’ is not a member of ‘Foam::fv’ fv::IOoptionList fvOptions(mesh); ^ waveFoam.C:83:5: error: ‘turbulence’ was not declared in this scope turbulence->validate(); ^ In file included from waveFoam.C:88:0: CourantNo.H:39:29: error: ‘phi’ was not declared in this scope fvc::surfaceSum(mag(phi))().internalField() ^ In file included from waveFoam.C:102:0: setRDeltaT.H:63:33: error: ‘phi’ was not declared in this scope fvc::surfaceSum(mag(phi))().dimensionedInternalField() ^ setRDeltaT.H:64:33: error: ‘rho’ was not declared in this scope /((2*maxCo)*mesh.V()*rho.dimensionedInternalField()) ^ setRDeltaT.H:80:17: error: ‘reaction’ was not declared in this scope mag(reaction->Sh())/(alphaTemp*rho*thermo.Cp()*T) ^ setRDeltaT.H:80:44: error: ‘rho’ was not declared in this scope mag(reaction->Sh())/(alphaTemp*rho*thermo.Cp()*T) ^ setRDeltaT.H:80:48: error: ‘thermo’ was not declared in this scope mag(reaction->Sh())/(alphaTemp*rho*thermo.Cp()*T) ^ In file included from waveFoam.C:106:0: CourantNo.H:39:29: error: ‘phi’ was not declared in this scope fvc::surfaceSum(mag(phi))().internalField() ^ currently managed to compiled the library, pre & post processing, however Im having troubles with compiling the solvers I realised most of the error are functions that ain't declared Is there any editions i should do to 'declare' the functions? error: ‘IOoptionList’ is not a member of ‘Foam::fv’ <-- how do I resolve this issue? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
Hallo Chia,
I cannot help, since you give very little information. Where are the errors? What is the version of OF and waves2Foam? Have you modified something? Generating your own solver? Please provide information where applicable. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 9 ![]() |
Dear Niels,
I managed to solve the problem and get it running Code:
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 6.68278e-08, No Iterations 27 GAMG: Solving for pcorr, Initial residual = 3.31779e-08, Final residual = 3.31779e-08, No Iterations 0 time step continuity errors : sum local = 2.21897e-17, global = 1.65833e-18, cumulative = 1.65833e-18 Courant Number mean: 0.00026753 max: 0.183413 Starting time loop --> FOAM FATAL ERROR: Unknown function type surfaceElevation Valid functions are : 4 ( patchProbes probes sets surfaces ) Code:
functions { #includeIfPresent "../waveGaugesNProbes/surfaceElevationAnyName_controlDict"; } Code:
surfaceElevationAnyName { type surfaceElevation; functionObjectLibs ( "libwaves2Foam.so" ); outputControl timeStep; // Alternative: outputTime outputInterval 1; //Additional output controls in waves2Foam //samplingStartTime -1; //surfaceSampleDeltaT 0.025; setFormat raw; interpolationScheme cellPointFace; fields (alpha.water); #includeIfPresent "../waveGaugesNProbes/surfaceElevationAnyName_sets"; } thanks for the help previously Chia |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Gautami Erukulla
Join Date: Mar 2009
Posts: 71
Rep Power: 16 ![]() |
Hello Chia,
It may or may not work, but worth trying: In the controlDict dictionary after the functions { #includeIfPresent "../waveGaugesNProbes/surfaceElevationAnyName_controlDict"; } Please include the following: libs ( "libwaves2Foam.so" "libwaves2FoamProcessing.so" "libwaves2FoamSampling.so" ); Most&More, Gautami Erukulla. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 9 ![]() |
Thanks alot Gautami!
It worked! |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 7 ![]() |
Hi Chia,
I also need the record of elevation. Could u give more details about how to make the "surfaceElevation" works? I used same input files (controldict, surfaceelevationanyname_controldict) as u, but it could not work well. Thank u ! |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Periodicity problems in icem | zeeshu | ANSYS Meshing & Geometry | 0 | April 17, 2016 21:59 |
Problems when compile SU2 v4.X with openmpi | BopngMa | SU2 | 1 | September 6, 2015 07:30 |
compilation problems in FOAM-Extend 3.1 with a modified "dbnsTurb" | GJM1991 | OpenFOAM Programming & Development | 0 | June 26, 2015 10:34 |
Problems in personal library compilation | shrina | OpenFOAM | 3 | February 23, 2009 12:12 |
Changes in OF 14 and compilation issues | alberto | OpenFOAM Running, Solving & CFD | 13 | May 13, 2007 16:21 |