|
[Sponsors] |
Need some help understanding updateCoeffs() for dynamic Meshes. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 15, 2016, 03:11 |
Need some help understanding updateCoeffs() for dynamic Meshes.
|
#1 |
New Member
Stephen Waite
Join Date: May 2013
Location: Auckland, New Zealand
Posts: 29
Rep Power: 13 |
Hello,
I'm currently working on some modifications to the interDyMFoam solver. I am trying to understand how the displacementLaplacian motion solver works, and I'm hitting a few walls. I'm using OF 2.4.0 (no reason why I'm using this over 4, It was just the version I had when I came back to openFOAM and started reading into this solver). I'm also new to object orientated programing so a lot of my confusion could be coming from that. I'm trying to understand how the function pointDisplacement_.boundary().updateCoeffs(); works. To do this, I'm stepping through the code using gdb as well as navigating with the doxygen source code guide. so the function is defined in GeometricBoundaryField.C, in the code snippet below. Code:
template<class Type, template<class> class PatchField, class GeoMesh> void Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField:: updateCoeffs() { if (debug) { Info<< "GeometricField<Type, PatchField, GeoMesh>::" "GeometricBoundaryField::" "updateCoeffs()" << endl; } forAll(*this, patchi) { this->operator[](patchi).updateCoeffs(); } } So if anyone could point me to the declaration for updateCoeffs() or maybe knows how to choose which function you step into with gdb, that would be fantastic Cheers Stephen |
|
Tags |
interdymfoam, updatecoeffs() |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
How can I put the data of adpated meshes on the original unadapted meshes? | xh110120 | FLUENT | 2 | March 11, 2016 03:00 |
Coupling of OpenFOAM solvers | Annier | OpenFOAM Running, Solving & CFD | 1 | January 5, 2015 11:50 |
Understanding about updateCoeffs() in solidDisplacementFoam | Annier | OpenFOAM Programming & Development | 4 | January 1, 2015 07:23 |
Hex and Tet meshes - simplefoam comparison | danvica | OpenFOAM Running, Solving & CFD | 10 | January 4, 2013 02:18 |