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/)
-   -   Calculating source term in selected cells (http://www.cfd-online.com/Forums/openfoam-programming-development/101279-calculating-source-term-selected-cells.html)

ggoggodak85 April 30, 2012 05:18

Calculating source term in selected cells
 
I'm trying to calculate coriolis and centrifugal force as source term in SimpleFoam.

when I run wmake, it works!

But coriolis and centrifugal force is applied to all cells.

How can I calculate source term for selected cells?
I already have cellzones and zone name.

I'm waiting for good advice.

Regards

houwy April 22, 2014 22:13

Quote:

Originally Posted by ggoggodak85 (Post 358442)
I'm trying to calculate coriolis and centrifugal force as source term in SimpleFoam.

when I run wmake, it works!

But coriolis and centrifugal force is applied to all cells.

How can I calculate source term for selected cells?
I already have cellzones and zone name.

I'm waiting for good advice.

Regards

Hi! I also want to solve this problem,too. Have you solved it? Can you give me some help? Thanks!


All times are GMT -4. The time now is 07:56.