|
[Sponsors] |
can't find object when reconstructPar marangoni bc |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2022, 04:42 |
can't find object when reconstructPar marangoni bc
|
#1 |
New Member
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4 |
Hello,everyone!
I am trying to implement marangoni bc, I use the code in Marangoni bc. It is running successfully, however, when I do reconstructPar to reconstruct the decomposed fields, the "AgradT" object is not found,the infomation is: Reconstructing FV fields Reconstructing volScalarFields T alphat p p_rgh Reconstructing volVectorFields AgradT U mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! mymarangoniFvPatchVectorField::evaluate(): object T not found! mymarangoniFvPatchVectorField::evaluate(): object gradT not found! Reconstructing surfaceScalarFields phi It seems that the reconstructPar code call the function evaluate() defined in the boundary file, and when the U field is reconstructed, the other field such as the "T" and "AgradT" can't be found. Here is my solver and boundary file: mymarangoniFvPatchVectorField.C mymarangoniFvPatchVectorField.H createFields.H mybuoyantBoussinesqPimpleFoam.C |
|
February 1, 2022, 08:08 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
It sounds like this is something odd in the marconi BC itself (ie, not reconstructPar). I find it odd that the marconi BC is used at all. Have you linked this into an OpenFOAM library by chance?
Normally you would compile this type of thing to a different library (eg, libmyFavouriteStuff.so) and then add into the local controlDict: Code:
// In system/controlDict libs (myFavouriteStuff); NOTE: there is code roughed in for a -no-libs option, but doesn't seem to be active anywhere. |
|
February 1, 2022, 12:04 |
|
#3 |
New Member
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4 |
yes,I have compiled the boundary condition file to a different library (eg, XXXX.so) and then add into the local controlDict
|
|
February 1, 2022, 12:06 |
|
#4 | |
New Member
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error in fireFoam, when running the case wallFireSpread2D | zhoubiao1088 | OpenFOAM Running, Solving & CFD | 9 | February 1, 2018 19:45 |
[foam-extend.org] Installing foam-extend 3.1 on Ubuntu 14.04 | stephie | OpenFOAM Installation | 16 | April 23, 2015 17:18 |
cannot find file constant/boundaryData/outlet/points | assert | OpenFOAM Running, Solving & CFD | 1 | April 25, 2014 10:36 |
Where I find the loop over all cells to fill the fvMatrice Object with elements ? | sebware | OpenFOAM Programming & Development | 0 | May 7, 2010 11:13 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |