View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000155 | OpenFOAM | Bug | public | 2011-03-04 11:08 | 2011-03-06 22:49 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000155: explicit laplacian calculation involving Tensor do not compile | ||||
Description | I tried to program an explicit laplacian calculation involving a dimensioned tensor and it don't compile: dimensionedTensor Ma (....) dimensionedTensor Mb (....) solve ( fvm::laplacian(Ma,pa)+fvc::laplacian(Mb,pb) ); The problem comes from the explicit laplacian calculation. According to my own test the problem is only present when Mb is a Tensor. there is no problem if Mb is a scalar. Obviously, I can workaround the main issue by decomposing the laplacian with tensor into a sum of 9 laplacians with scalar... but it is not elegant. I also note that fvc::flux() do not take into account for the tensor.. Regards, Cyp | ||||
Tags | No tags attached. | ||||