|
[Sponsors] |
July 12, 2016, 10:17 |
Where is the source code for mesh.update()?
|
#1 |
New Member
Dominic
Join Date: May 2016
Posts: 27
Rep Power: 10 |
I'm currently looking for the source code for a file, but have been having some trouble. The specific line is from fluidStructureInterface.C (from foam-extend 3.x), fluidMesh_.update(). The overarching solver itself uses dynamicFvMesh, but I've still been unable to find the respective source code for the .update() member function.
Thank you in advance for the assistance. |
|
July 14, 2016, 08:25 |
|
#2 |
Member
Ben Jankauskas
Join Date: Jun 2013
Location: Exeter
Posts: 34
Rep Power: 13 |
Hi,
I've had a quick look at FSI version 4.0. You were correct to start looking in dynamicfvMesh for update() function. If you take a look at *.H file, this member function is set as: Code:
virtual bool update() = 0; So if you can figure out which runtime selectable dynamicFvMesh model/library is used, then you can look up the algorithm it uses in update() function. Hope this helps. Ben |
|
July 14, 2016, 09:27 |
|
#3 |
New Member
Dominic
Join Date: May 2016
Posts: 27
Rep Power: 10 |
Hi rhythm, thanks for your reply. I actually found what I was looking for in dynamicMotionSolverFvMesh (turns out it depends on what solver you are using). I attached a link to the presentation I referenced if anyone in the future is curious as to how to find it for specific cases.
http://www.slideshare.net/fumiyanozaki96/openfoam Cheers, - Verse |
|
Tags |
fsifoam, source code, update() |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wmake compiling new solver | mksca | OpenFOAM Programming & Development | 14 | June 22, 2018 07:29 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |