|
[Sponsors] |
access centreOfMass or centreOfRotation data from system/control #code function |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 30, 2020, 03:33 |
access centreOfMass or centreOfRotation data from system/control #code function
|
#1 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
Hi all,
I am trying to access the centreOfRotation and centreOfMass information from within system/controlDict #code function. But I am not able to find out which data member or function I need (i.e. there are multiple centreOfRotation definitions within sixDoFRigidBodyMotion state and constraints). I am also not fluent with database registry to explore it. I tried the "printing registry" tip from OpenFOAM v7 manual with no luck. And using gdb is tough... Code:
Info << "mesh.names()" << mesh.names() << nl << endl ; Info << "runTime.names() " << runTime.names() << nl << endl ; |
|
Tags |
centre of mass, data access, lookupobject, registry, sixdofsolver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
access mesh in a function | chenu | OpenFOAM Programming & Development | 0 | January 6, 2020 05:50 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |