|
[Sponsors] |
mixedValue BC reads different Values than fixedGradient BC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2017, 11:29 |
mixedValue BC reads different Values than fixedGradient BC
|
#1 |
New Member
Join Date: Sep 2017
Posts: 1
Rep Power: 0 |
Hi Guys!
I'm very new to the forum, but reading some of the threads here always helped a lot! Unfortunately I haven't found anything on my topic. I am using the solidDisplacement Solver of OpenFOAM-2.3.x (but I couldn't find a solution for my problem on any newer or different Version). Currently I am trying to "transform" the tractionDisplacement boundary condition, which is fixedGradient into mixedValue, so I can set a specific value at the boundary for certain conditions. So I copied the code and changed the settings from fixedGradient to mixedValue (in the constructors part and .H file). I cut the codes, so nothing is calculated, but only the sigmaD value read and put out. I tried the code by just testing the following lines Code:
const fvPatchField<symmTensor>& sigmaD = patch().lookupPatchField<volSymmTensorField, symmTensor>("sigmaD"); Info << "sigmaD" << max((sigmaD)) << " min " << min((sigmaD)) << endl; This seems very strange to me. Can anybody help me? Did I miss anything with the constructors? Does that even influence the value? lohoko |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 06:55 |
Setting patch field values equal to internal field values | leroyv | OpenFOAM Programming & Development | 1 | October 21, 2014 15:49 |
Loading Cell Values in Tecplot | P1361 | OpenFOAM Post-Processing | 3 | September 16, 2014 04:02 |
[swak4Foam] About groovyBC to set distributed fixedGradient values for each cell boundary patch | nwpukaka | OpenFOAM Community Contributions | 6 | August 12, 2014 06:34 |
Plotting raw data values | Wilesco | Siemens | 0 | January 5, 2006 05:34 |