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

can't find object when reconstructPar marangoni bc

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2022, 04:42
Default can't find object when reconstructPar marangoni bc
  #1
New Member
 
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4
wqsn123 is on a distinguished road
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
wqsn123 is offline   Reply With Quote

Old   February 1, 2022, 08:08
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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);
For some utilities where they cause problems, then simply deactivate as needed.


NOTE: there is code roughed in for a -no-libs option, but doesn't seem to be active anywhere.
olesen is offline   Reply With Quote

Old   February 1, 2022, 12:04
Default
  #3
New Member
 
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4
wqsn123 is on a distinguished road
yes,I have compiled the boundary condition file to a different library (eg, XXXX.so) and then add into the local controlDict
wqsn123 is offline   Reply With Quote

Old   February 1, 2022, 12:06
Default
  #4
New Member
 
aaa
Join Date: Jan 2022
Posts: 3
Rep Power: 4
wqsn123 is on a distinguished road
Quote:
Originally Posted by olesen View Post
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);
For some utilities where they cause problems, then simply deactivate as needed.


NOTE: there is code roughed in for a -no-libs option, but doesn't seem to be active anywhere.
yes,I have compiled the boundary condition file to a different library (eg, XXXX.so) and then add into the local controlDict
wqsn123 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
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


All times are GMT -4. The time now is 21:37.