|
[Sponsors] |
July 2, 2018, 22:08 |
help on declaration of interface's curvature
|
#1 |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Hi everyone,
I am facing a problem with declaration of interface's curvature. From calculation of K_ in interFoam following the link: /src/transportModels/interfaceProperties/interfaceProperties.C K_ ( IOobject ( "interfaceProperties:K", alpha1_.time().timeName(), alpha1_.mesh() ), alpha1_.mesh(), dimensionedScalar("K", dimless/dimLength, 0.0) ) I want to declare a new method to compute interface's curvature (C_) as follows: C_ ( IOobject ( "C", psi_.time().timeName(), psi_.mesh() ), psi_.mesh(), dimensionedScalar("C", dimless/dimLength, 0.0) ) with psi is a variables of level set function, computed by value of alpha1. However, when I build a new library, the compiler shows errors like this: no matching function for call to Foam::... as shown in the attached file. Could you please help me to explain what kind of error I got and how can I resolve it? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Problem installation OpenFOAM-dev | FlyingCat | OpenFOAM Installation | 15 | December 31, 2017 11:53 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 05:38 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |