View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002483 | OpenFOAM | Bug | public | 2017-03-02 23:20 | 2017-03-02 23:32 |
Reporter | Jacques | Assigned To | henry | ||
Priority | normal | Severity | block | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0002483: OpenFoam-dev does not seem to make it properly through the if statement in OceanWave3D.C (recent download) | ||||
Description | OceanWave3D.c waveTheories/externalWaveForcing/oceanWave3D/OceanWave3D.c:486:25: error: passing ‘const Internal {aka const Foam::DimensionedField<double, Foam::surfaceMesh>}’ as ‘this’ argument discards qualifiers [-fpermissive] 484 // Map the phiTemp -> phi 485 #if EXTBRANCH==1 486 phi.internalField() = phiTemp.internalField(); 487 #elif OFPLUSBRANCH==1 488 phi.internalField() = phiTemp.internalField(); 489 #else 490 #if OFVERSION<400 491 phi.internalField() = phiTemp.internalField(); 492 #else 493 phi.ref() = phiTemp.internalField(); 494 #endif 495 #endif Bug issue 0002134 mentions “internalField()” being replaced by .ref() in later versions. I have OpenFoam-dev downloaded from: https://openfoam.org/download/dev-linux/ and use Ubuntu 14.04. Seen the above code, I do not branch off to line 493 (EXTBRANCH==1 apparently). OpenFoam works, I try to couple wave2Foam work with dynamic mesh motion implementing Jordi Muela’s notes. The library does not compile. | ||||
Tags | No tags attached. | ||||