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

autoPtr<interpolation<scalar> > error

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 20, 2022, 05:01
Default autoPtr<interpolation<scalar> > error
  #1
New Member
 
Zhang Yan
Join Date: Nov 2021
Posts: 15
Rep Power: 4
Erikaaa is on a distinguished road
Hello, Foamers!
I referred to the link below to get interpolated pressure and I also do some changes in the new version (v2106). However, there is an error when compilling.
If someone can help me to solve it, I will be very grateful.

Point interpolation in OF

Code:
Code:
dictionary interpolationDict = mesh.schemesDict().subDict("interpolationSchemes");
Info << "interpolationSchemes: " << interpolationDict << endl;
autoPtr<interpolation<scalar> > P_int = interpolation<scalar>::New(interpolationDict, p);
Error:
Code:
Entry 'p' not found in dictionary "/home/dyfluid/OpenFOAM/cases07/IBSystem/2DIBMCylinder_stationary_0710_4ProcessorV3-2/system/fvSchemes.interpolationSchemes"


file: /home/dyfluid/OpenFOAM/cases07/IBSystem/2DIBMCylinder_stationary_0710_4ProcessorV3-2/system/fvSchemes.interpolationSchemes at line 42.

    From const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, Foam::keyType::option) const
    in file db/dictionary/dictionary.C at line 413.
Erikaaa is offline   Reply With Quote

 


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] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[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
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
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 20:33.