|
[Sponsors] |
laplacianFoam - Impose a Dirac delta source term |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 1, 2019, 09:14 |
laplacianFoam - Impose a Dirac delta source term
|
#1 |
New Member
Umberto
Join Date: Feb 2019
Location: Spain
Posts: 1
Rep Power: 0 |
Hello!
I am solving the following one dimensional problem with BC This problem has analytical solution and I am using it as a benchmark before moving to more complicate things. However, I do not manage to get it right. What did untill now (assuming ) is to use laplacianFoam with the source term defined in fvOptions as Code:
source1 { type scalarSemiImplicitSource; active true; selectionMode points; // all, cellSet, cellZone, points volumeMode specific; // absolute,specific points ( (0 0 0) ); injectionRateSuSp { T (1.0 0); } } I have run it with the boundary conditions: Code:
dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 350; boundaryField { symmetryPlanes { type symmetry; } coldSide { type groovyBC; variables 2("H=60.0;" "k=350.0;"); valueExpression "0.0"; ; gradientExpression "0.0"; fractionExpression "1/(1+2*k/(H*mag(delta())))"; } hotSide { type fixedGradient; gradient uniform 0; } Code:
DT DT [ 0 2 -1 0 0 0 0] 350; I thank you for any help or hint you can provide me. Umberto |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Term due to evaporation in energy transport equation | styleworker | OpenFOAM Programming & Development | 3 | September 7, 2022 04:09 |
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X | gschaider | OpenFOAM Installation | 136 | October 10, 2017 18:25 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |