Hello Narita,recently I'm having the same problem you used to have. Here's my code: DEFINE_DPM_INJECTION_INIT(fuel,I) { Particle *pt; real time = RP_Get_Real("flow-time"); real m1=0.012667, m2=0.014057; loop(p,I->p_init) { PP_FLOW_RATE(p) = (fuel_m1+(fuel_m2-f...
A few German mathematicians named Richard Courant, Kurt Friedrichs, and Hans Lewy derived a stability condition for explicit time-marching solutions for partial differential equations in their original paper titled On the partial differential equations o
Thanks for reply. Actually I have not initialize to the domain at 20 C. Domain walls are considered as adiabatic. and inlet temperature is given as 20 C.Now I just calculated the heat transfer rate Q using wall heat flux and it is 170.98 W for whole domain. Here mass flow rate is 0....
I would like to implement a new cavitation solver in openFoam! I added a transport equation for mass fraction where I need to compare my local pressure (p) with a scalar experimental value pEq! During the compiling of the code I got a dimension error! Can an...