|
[Sponsors] |
An error occurred while attempting to couple OpenFoam with a machine learning model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2023, 11:17 |
An error occurred while attempting to couple OpenFoam with a machine learning model
|
#1 |
New Member
BAI
Join Date: May 2023
Posts: 1
Rep Power: 0 |
Hello everyone.
I attempted to update the source item location in the flame table and replaced it with neural network inference. The compilation was successful, but the following error occurred while updating the item. I don't know where the problem occurred. It should have been an error reported when establishing the Tensor. Here are the error content and interface content |
|
May 17, 2023, 05:11 |
|
#2 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 |
Segmentation error means that you are trying to access memory that has not been allocated. This is perhaps something like you are trying to access a pointer that has not been assigned, or an index in a list that does not exist.
In your figure 3, in line 59 the loop looks weird. Why use i<1? Where is inputs_ defined? Seems to be an error with that. Maybe add some print checks or use a debugger (Build OPENFOAM from Source and Debug with VisualCode). |
|
Tags |
machine learning, mlp, openfoam5.x |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
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 model compilation error | 351Cleveland | OpenFOAM | 1 | January 24, 2011 06:43 |