|October 23, 2009, 12:46||
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 165Rep Power: 8
I have advanced a bit ahead with my last problem. The previous error is sorted out. it was because of the difference in meshing and boundary condition.
However I am still wondering with the question of different implementation of p-equation. I mean..
when we use phi in pEqn (), we use
phi += pEqn.flux();
And when we use phid etc then we use
phi = pEqn.flux();
I am still wondering why?? Any hint please?
|November 5, 2009, 15:16||
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 172Rep Power: 8
Hi, I'm very sorry for late reply (too much work).
Anyway, if this answer is still needed:
when we update velocity (phi = velocity*density*area) in diffusion pressure equation, we mean that dU ~ const * grad(dp). If we are using convection-diffusion equation for pressure: ddt(psi,p) + div(phi_d, p) - div(rho/A*grad(p)), we are solving for mass flux, which satisfies continuity equation.
- diffusion equation - correction to mass fluxes (to satisfy continuity) - phi+=pEqn.flux()
- convection-diffusion - mass fluxes, which continuity - phi=pEqn.flux()
I hope, this helps you. I'm really sorry for late post
|June 25, 2013, 08:40||
please would you guide me in running a new application on OpenFOAM
Join Date: Jun 2013
Posts: 52Rep Power: 3
i am new to OpenFOAM.
i was going through the "OpenFOAM Programming Tutorial" written by Tommaso Lucchini. i modified icoFoam to icoScalarTransportFoam and cavity to cavityScalarTransport in accordance to the directions of the notes.
now i cannot set up the case cavityScalarTransport and cannot run it. would you please guide me with the commands for running this new application.thanking you in advance.
Last edited by Annier; July 23, 2013 at 02:03.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Moving mesh||Niklas Wikstrom (Wikstrom)||OpenFOAM Running, Solving & CFD||122||June 15, 2014 06:20|
|Differences between serial and parallel runs||carsten||OpenFOAM Bugs||11||September 12, 2008 11:16|
|Unknown error||sivakumar||OpenFOAM Pre-Processing||9||September 9, 2008 12:53|
|IcoFoam parallel woes||msrinath80||OpenFOAM Running, Solving & CFD||9||July 22, 2007 02:58|
|Could anybody help me see this error and give help||liugx212||OpenFOAM Running, Solving & CFD||3||January 4, 2006 19:07|