View Issue Details

IDProjectCategoryView StatusLast Update
0003791OpenFOAMPatchpublic2022-01-24 18:59
ReporterXueyu Assigned Tohenry  
PrioritynoneSeveritytrivialReproducibilityalways
Status closedResolutionno change required 
PlatformUbuntu 20.04 LTS 
Product Version9 
Summary0003791: Compile problem and Cannot finde the constantAlphaContactAngle
Description1.I use other people code to build in OpenFOAM-9. there is a problem for the dynamicRefineBalancedFvMesh class. it report the

dynamicRefineBalancedFvMesh/dynamicRefineBalancedFvMesh.C:262:45: error: passing ‘const Foam::hexRef’ as ‘this’ argument discards qualifiers [-fpermissive]
  262 | meshCutter()->distribute(map);

But the author can compile it on the OpenFOAM-4.X.
Link: https://github.com/ElsevierSoftwareX/SOFTX_2018_143/blob/master/OpenFOAM/src/twoPhaseProperties/alphaContactAngle/alphaContactAngleFvPatchScalarField.H
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2.I built a tool to initial the mesh in appplications/utilities/meshUpdater. But it can not find constantAlphaContactAngle patch when I run it in the tutorials. But interFoam can run it well.

--> FOAM FATAL IO ERROR:
Unknown patchField type constantAlphaContactAngle for patch type patch

Valid patchField types are :
72
(....)


TagsNo tags attached.

Activities

Xueyu

2022-01-24 10:59

reporter   ~0012428

The file size is 2.7M... I can not attatched ...

henry

2022-01-24 11:12

manager   ~0012429

Last edited: 2022-01-24 14:47

The code you are referring to is not part of OpenFOAM and not maintained by us, you will need to refer the issue to the maintainers of that code.

Note that I have implemented dynamic refinement with load-balancing in OpenFOAM-dev,
Try the OpenFOAM-dev/tutorials/multiphase/interFoam/RAS/floatingObject case with the Allrun-parallel script

henry

2022-01-24 18:59

manager   ~0012434

Use OpenFOAM-dev

Issue History

Date Modified Username Field Change
2022-01-24 10:54 Xueyu New Issue
2022-01-24 10:59 Xueyu Note Added: 0012428
2022-01-24 11:12 henry Note Added: 0012429
2022-01-24 11:13 henry Priority normal => none
2022-01-24 11:13 henry Severity major => trivial
2022-01-24 14:47 henry Note Edited: 0012429
2022-01-24 18:59 henry Assigned To => henry
2022-01-24 18:59 henry Status new => closed
2022-01-24 18:59 henry Resolution open => no change required
2022-01-24 18:59 henry Note Added: 0012434