how to define a new boundary condition
In the stressanalysis solver solidDisplacementFoam there is a boundary condition tractionDisplacement, which looks like following:
traction uniform (0 0 0);
pressure uniform 0;
value uniform (0 0 0);
In this boundary condition I can only define the the traction as a constant vector. But now I want to modify the traction as a variable, which is depend on it's position.
I have try to use groovyBC or funkySetField, but those utlities can only be applied to the field, which is defined in the 0 folder, not valid to the values inside of the boundary definition.
So my idea is to modify the existed boundary condition and define a new one, which can read in the traction not as a fixed vector, but depend on it's position.
Does any one have experience how to realize it?
Thanks a lot in advance!
|All times are GMT -4. The time now is 19:08.|