View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002129 | OpenFOAM | Bug | public | 2016-06-23 12:44 | 2016-06-24 15:23 |
Reporter | MattijsJ | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 13.2 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002129: potentialFoam does not copy settings of complex bcs, only the type | ||||
Description | Attached case uses fixedMean instead of fixedValue. | ||||
Steps To Reproduce | Attached case. -> FOAM FATAL ERROR: object of type N4Foam9Function1IdEE is not allocated From function T* Foam::autoPtr<T>::operator->() [with T = Foam::Function1<double>] in file /home/mattijs/OpenFOAM/OpenFOAM-dev.feature-mapFields/src/OpenFOAM/lnInclude/autoPtrI.H at line 176. | ||||
Tags | No tags attached. | ||||
|
|
|
|
|
|
|
With a fix of cloneing the p bcs when constructing Phi it now also adjusts the mean of the Phi (I've uploaded logs of std potentialFoam and with adapted createFields). I guess you want to keep Phi frozen so instead rewrite fixedMean to fixedValue? |
|
The boundary conditions of p are generally not appropriate for Phi and should not be cloned. If you need complex BCs for Phi you should specify them in the Phi field file. |
|
Maybe it would be better to use pBCTypes and the default BCs for Phi rather than those of p and overide by providing a Phi file as required. |
|
Resolved by commit afa64919ecc355e978a2819d8acfe33b3f990371 |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-23 12:44 | MattijsJ | New Issue | |
2016-06-23 12:44 | MattijsJ | File Added: pitzDaily.tgz | |
2016-06-23 12:51 | MattijsJ | File Added: log.potentialFoam | |
2016-06-23 12:51 | MattijsJ | File Added: log.potentialFoam_with_fix | |
2016-06-23 12:54 | MattijsJ | Note Added: 0006460 | |
2016-06-23 12:58 | henry | Note Added: 0006461 | |
2016-06-23 13:24 | henry | Note Added: 0006462 | |
2016-06-24 15:22 | henry | Note Added: 0006466 | |
2016-06-24 15:22 | henry | Status | new => resolved |
2016-06-24 15:22 | henry | Fixed in Version | => dev |
2016-06-24 15:22 | henry | Resolution | open => fixed |
2016-06-24 15:22 | henry | Assigned To | => henry |