|
[Sponsors] |
[OpenFOAM.org] Compiling OpenFOAM (V7) with libtorch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 2, 2024, 15:56 |
Compiling OpenFOAM (V7) with libtorch
|
#1 |
New Member
serg
Join Date: Dec 2015
Posts: 29
Rep Power: 10 |
Dear all,
I've been trying to compile libtorch with OF v7 using wmake. I managed to include torch headers into some classes of OF and compiled with success. However, when I try to include it in a some custom class of type combustionModel, I receive a series of errors, which I believe it is not directly related with my own class (even when I just add an include directive #include<torch/torch.h> and do not call any torch function, I get errors) There are similar repositories from Tomislav Maric and Andre Weiner. They've managed to do that and have nice repositories. My code basis is on V7, and I would prefer not to convert my existing code to V2006 or V2012 as they are using. The error I am receiving is something related with torch and openfoam but I am not sure if there is a naming issue or something like that? I can supply more inputs, any help is appreciated. Kind regards |
|
June 30, 2024, 01:46 |
|
#2 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |