CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   "Mobile" entities: cell zones, sources, etc... (http://www.cfd-online.com/Forums/openfoam-programming-development/74216-mobile-entities-cell-zones-sources-etc.html)

r08n March 26, 2010 13:23

"Mobile" entities: cell zones, sources, etc...
 
Hi all,

I noticed that many objects, like porous zones, field sources (e.g., timeActivatedExplicitMulticomponentPointSource), are created at the simulation start by
reading their properties, including their coordinates and the areas they occupy, from the appropriate property files. Is there any possibility to modify their coordinates during the runtime (as if making them move?) If yes, is the same method of changing the coordinates applicable to the porous zones and the field sources? It seems that both types of objects contain the lists of cells they occupy, therefore, it should be possible, in principle, to add and remove the cells from the appropriate cell list and thereby change the object positions. Is this possible, or am I totally wrong? Any hints are very appreciated.


All times are GMT -4. The time now is 22:33.