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

Bug compilation OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2022, 17:50
Default Bug compilation OpenFoam
  #1
New Member
 
Boucetta Lahcene
Join Date: Feb 2022
Location: Paris
Posts: 22
Rep Power: 4
B6_lacen is on a distinguished road
Hello everyone,

I am currently working on reduced Order Models with ITHACAFV(c++ user developped library) , I made a modifcation in the c++ code and I have this error. (Modification: tried to initialize a submesh in class(ITHACAFVDEIM) definition in .c file using submesh(f(mesh)) command. where function f returns an autoPtr<fvMeshSubset>. An automatic Pointer object towards fvMeshSubset element. I don't know how to debug on OpenFoam. It would be great help if i had hints on this type of error.

Bonus question : How to we convert ore change an autoPtr<templ T> to a normal pointer?

Thank you.

Best regard,

MicrosoftTeams-image (1).png
B6_lacen is offline   Reply With Quote

Old   June 22, 2022, 05:05
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by B6_lacen View Post
Bonus question : How to we convert ore change an autoPtr<templ T> to a normal pointer?

Not sure why this is a "bonus question" when the answer is already documented:
https://www.openfoam.com/documentati..._1autoPtr.html
B6_lacen likes this.
olesen 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] Compilation error (openFOAM v4.1) praveenSrinivas OpenFOAM Installation 2 September 30, 2019 18:40
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Cumulative patch for OpenFOAM 141 January 3rd 2007 msrinath80 OpenFOAM Bugs 6 January 4, 2008 10:12


All times are GMT -4. The time now is 15:53.