|
[Sponsors] |
fvModels-accelerationSource - No velocity change |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 4, 2023, 03:15 |
fvModels-accelerationSource - No velocity change
|
#1 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Foamers,
I am trying to simulate an effect of fan, and I am using ''accelerationSource'' fvModel. I am using OpenFoam10 The fvModel works fine if I include 'halfCosineRamp' but I cannot see any changes to velocity field when I change it to ''constant''. I am assuming the fan would exert a constant acceleration to the fluid. Would you take a look into the file ? PHP Code:
Thank you Dasith |
|
May 4, 2023, 10:18 |
|
#2 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20 |
Hi Dasith,
the accelerationSource does not have any effect when using constant as scaling function. Having a look at the code you can see, that the acceleration is calculated by the difference of velocity between the time steps: Code:
const vector dU = velocity_->value(mesh().time().timeToUserTime(t)) - velocity_->value(mesh().time().timeToUserTime(t - dt)); const vector a = dU/mesh().time().deltaTValue(); I suggest you have a look at the actuationDiskSource in order to model the effect of a fan. Best, Jan |
|
May 4, 2023, 20:37 |
|
#3 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Jan,
Thank you very much for the response. ok, it makes sense now. Hmm, I've been looking into actuationDiskSource as well, but is it not something to be use for a turbine, where the rotor is driven by wind? fan, is other way around. PHP Code:
Basic use of actuationDiskSource And this'' Changing rotorDiskSource from source to sink '' also suggest actuationDisk might behave as a turbine. 'rotorDisk' might be my only option? It is very hard to find any explanations/clarity of on OpenFOAM fvModels/fvOptions in general, whilst those remains very important. I would really appreciate if anyone could shred more light Thank you Dasith |
|
May 9, 2023, 05:51 |
|
#4 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 144
Rep Power: 20 |
Hi, I have never used the OpenFOAM Implementation. But for my understanding the actuationDisk acts Like a driven Propeller, e.g. behind a ship. That means the flow is accelerated die to the implied thrust of the Rotor.
|
|
Tags |
accelerationsource, fvmodels |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
serial udf to parallel udf | radioss | Fluent UDF and Scheme Programming | 10 | January 19, 2019 09:56 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
Change in velocity at inlet | mutewinter | Main CFD Forum | 0 | June 6, 2014 07:01 |
mean velocity change from inlet to outlet | ro | FLUENT | 2 | April 19, 2008 14:37 |