|
[Sponsors] |
October 21, 2021, 09:48 |
|
#21 |
Member
Alpesh
Join Date: Jan 2011
Location: Germany
Posts: 52
Rep Power: 15 |
Hi,
I think the fluid density (rho) is not at all required to solve the current continuity equation (charge conservation equation). Let's say, rhoE - Space charge density [C/m³ or A-s/m³], mu - electrical mobility [A-s²/kg] ePot - electrical potential [kg-m²/(A-s³)] De - Diffusion coefficient [m²/s] U - fluid velocity [m/s] then Current continuity equation: fvScalarMatrix rhoEEqn ( fvm::ddt(rhoE) //Time derivative + fvm::div(rhoFlux, rhoE) //Convective term - rhoFlux is surfaceScalarField - fvm::laplacian(D, rhoE) //Diffusive Term, -/+ sign for +/- space charge density ); rhoEEqn.solve(); where, surfaceScalarField rhoFlux = - mu*mesh.magSf()*fvc::snGrad(ePot) If the space charge density is also dragged by the fluid velocity, then surfaceScalarField rhoFlux = - mu*mesh.magSf()*fvc::snGrad(ePot) + fvc::linearInterpolate(U)&mesh.Sf() Isn't it this way? correct me if I am wrong or missing something. Kind regards Alpesh |
|
February 13, 2022, 07:52 |
|
#22 |
Member
George
Join Date: Dec 2020
Posts: 31
Rep Power: 5 |
Dear all,
I would like to do a simulation of boat propeller with AMI solid body rotating motion and I am interested in the far-wake characteristics of the propeller. Im guessing that buoyancy forces will be important for the far-wake of a propeller thus I need to use a solver which takes buoyancy into account. Since there will be very small stratification of the density in such a problem, will I be able to use buoyantboussinesqpimplefoam for this simulation? Also are there any tutorials or some papers available in this kind of propeller simulations? Are there any known problems of the buoyantboussinesqpimplefoam solver? Kind regards, George |
|
Tags |
buoyantboussinesqpimple, modify solver, openfoam v6 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying the laplacian operator | mlawson | OpenFOAM Running, Solving & CFD | 22 | July 16, 2018 05:56 |
Error while modifyinG reactingFoam!! | sonGoku | OpenFOAM Pre-Processing | 0 | May 27, 2018 14:57 |
Modifying the convection term in IcoFOAM code | fluidflowsteel | OpenFOAM Programming & Development | 0 | November 28, 2017 06:51 |
Modifying sonicFoam to add EM terms | Alexee | OpenFOAM Programming & Development | 0 | February 11, 2015 11:55 |
modifying radial distribution function | ravindra | FLUENT | 2 | September 2, 2014 15:03 |