|
[Sponsors] |
August 20, 2014, 11:03 |
Object registry problem
|
#1 |
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 |
Hi,
I want to define a boundary condition for a subset mesh motion. I collect the boundary points by: Code:
pointVectorField& PointDisplacement = const_cast<pointVectorField&> ( subset1Mesh_.subMesh().objectRegistry::lookupObject<pointVectorField> ( "pointDisplacement" ) ); pointField & subset1Boundary = refCast<pointField>(PointDisplacement.boundaryField()[patchIndex]); when I run the case, the error shows that: Code:
--> FOAM FATAL ERROR: request for pointVectorField pointDisplacement from object Registry motionSubset failed available objects of type pointVectorField are 0 ( ) From function objectRegistry::lookupObject<Type>(const word&) const in file /home/hchen/foam/foam-extend-3.1/src/foam/lnInclude/objectRegistryTemplates.C at line 139. FOAM aborting Anybody could help me? Thanks very much! Best regards Hao |
|
August 21, 2014, 06:31 |
|
#2 |
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 |
Hi,
I solve that problem.. The file Pointlaplacian dissappeared...just add it and it is ok. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
area does not match neighbour by ... % -- possible face ordering problem | St.Pacholak | OpenFOAM | 10 | February 7, 2024 22:50 |
strange problem with data | seav | OpenFOAM Running, Solving & CFD | 0 | April 11, 2014 06:01 |
Is this the correct approach to my problem? (UDF for object in motion) | charlestan88 | Fluent UDF and Scheme Programming | 5 | October 27, 2013 07:09 |
OpenFOAM 1.6.x - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 68 | April 22, 2013 12:03 |
CCL / Monitor Object Problem | James Date | CFX | 4 | September 29, 2010 03:23 |