CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

help on declaration of interface's curvature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2018, 22:08
Default help on declaration of interface's curvature
  #1
Senior Member
 
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12
ndtrong is on a distinguished road
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?
Attached Images
File Type: jpg error.jpg (107.3 KB, 7 views)
ndtrong is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 11:28.