trying to understand the boundary condition "oscillatingFixedValue"
Hi foamer,
I would like to setup oscillatingFixedValue with the equation u = 2.7 + 16(sėn2pit/16) I saw the guide at https://openfoamwiki.net/index.php/M...tingFixedValue if I understand exactly, the inlet velocity will: inlet { type oscillatingFixedValue; value uniform 0; // Initialization value refValue uniform (1 0 0); // Reference value for oscillation offset (1.7 0 0); // Oscillation mean value offset amplitude constant 16; // Amplitude of oscillation frequency constant 0.0625; // frequency } Following the equation, I set offset 1.7 will it plus 1 to 2.7? https://openfoamwiki.net/images/math...6b9cb308f3.png Thank you Thanh |
I ran inlet BCs above no problem with Tjunction tutorial. I only confuse about the "refValue" and "offset":
|
Does anyone can help me explain my question?
|
Hi Bruno,
Your explaination is very clearly at refVal. I have simulated with Tjuntion tutorial with inlet Bcs above. I only confuse that offset should be 2.7 or 1.7. Thank you so much. |
I add more answer the oscillating. If the equation don't have offset:
Code:
U = 16(sėn2pit/16) (m/s) Code:
U = 1 + 16(sėn2pit/16) (m/s) Code:
16 +16(sėn2pit/16) - 16 = 16(sėn2pit/16) |
Use groovyBC for the BC, it is easier
|
Hello everyone,
I am not sure if this is the right place to asked, but maybe one of you might help me. In my case I have an airfoil in a channel. Now my task is to implement a condition for an oscillating stream. I thought I might use oscillatingFixedValue for it. I tried for my inlet condition under 0/U: type oscillatingFixedValue; refValue (1.56 0 0); //my verlocity amplitude 0.05; offset 0; frequency 0.8; value uniform (0 0 0) When I have a look in to the vectorplot I can't see any movement of the vectors, so I think it doesn't work. Have anyone a hint for me how I can fix my problem? I would be very gratefule! Thank you and best regards, Stephie |
Quote:
And/or that perhaps you're not familiar enough yet with the time controls in ParaView? Beyond this, I suggest:
|
All times are GMT -4. The time now is 14:07. |