|
[Sponsors] |
December 18, 2007, 11:15 |
Hi,
I am modifing the icoDy
|
#1 |
Senior Member
Florian Krause
Join Date: Mar 2009
Location: Munich
Posts: 103
Rep Power: 17 |
Hi,
I am modifing the icoDyMFoam Solver from OF version 1.4.1 to simulate the physical correct sinking process of a sphere in a cylinder full of water. Now I have the problem to update the cellMotionUy and pointMotionUy with the new calculated velocities I get for each iteration. So my question: Where can I access and modify the cellMotionUy and pointMotionUy value for each iteration in the PISO loop except in the .../0/ directory? I hope to hear from you soon Kindest Regards, Flo |
|
December 18, 2007, 18:00 |
Hi Flo!
To get fields that
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Flo!
To get fields that are implicitly created by some library but not "seen" in the sources of a solver do something like (type, constness, name etc have to be adapted for your application) this: const volVectorField &cm=mesh.objectRegistry::lookupObject<volvectorfie ld>("cellMotionU"); Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh Problem with icoDyMFoam | yuhai | OpenFOAM Running, Solving & CFD | 5 | January 14, 2009 14:57 |
Problem with icoDyMFoam | olivier | OpenFOAM Running, Solving & CFD | 13 | December 19, 2008 09:03 |
Sinking of a foundation | Amir | CFX | 1 | January 24, 2008 16:36 |
Problem with icoDyMFoam | philippose | OpenFOAM Running, Solving & CFD | 19 | March 7, 2007 12:06 |
How to use icoDyMFOAM | soup | OpenFOAM Running, Solving & CFD | 7 | November 24, 2006 03:25 |