View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001943 | OpenFOAM | Bug | public | 2015-12-08 12:13 | 2015-12-08 14:25 |
Reporter | Vojta_Prihoda | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0001943: Boundary condition uniformInletOutlet does not update its value in time. | ||||
Description | In transient case, I have used boundary condition uniformInletOutlet with values read from .csv file and I found, that it does not update its value over time, the inlet value is still the same. When I restart the computation from non-zero time, in first iteration the boundary condition sets the proper inletValue from my .csv file, but then again it stays the same for the rest of the computation. I did inspect the source code for the boundary condition and I believe that in file uniformInletOutletFvPatchField.C in function Foam::uniformInletOutletFvPatchField<Type>::updateCoeffs() there needs to be something to update refValue. For myself, I fixed it by adding following two lines of code in Foam::uniformInletOutletFvPatchField<Type>::updateCoeffs(): const scalar t = this->db().time().timeOutputValue(); this->refValue() = uniformInletValue_->value(t); | ||||
Steps To Reproduce | Run arbitrary transient case with uniformInletOutlet condition working in regime of fixedValue, where inletValue is time dependent and it is read from .csv file. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-08 12:13 | Vojta_Prihoda | New Issue | |
2015-12-08 14:25 | henry | Note Added: 0005730 | |
2015-12-08 14:25 | henry | Status | new => resolved |
2015-12-08 14:25 | henry | Resolution | open => fixed |
2015-12-08 14:25 | henry | Assigned To | => henry |