NREL / SOWFA

Other
130 stars 113 forks source link

Embedding turbine models into different solvers #65

Open CallumG-Ed opened 4 years ago

CallumG-Ed commented 4 years ago

Hi everyone,

apologies if this is being posted in the wrong place.

I am interested in embedding turbine models into different OpenFOAM solvers. I am adapting the models for a tidal application and would like to edit overInterDymFoam to include say horizontalAxisWindTurbineALM. I believe the solver I am interested in uses the PIMPLE algorthm, and after studying the edits made to pisoFoam.C to create pisoFoamTurbine.C, I am wondering if it is just a case of including the additional header files, edditing the UEqn to include the turbine force and adding the turbines.update() into the time loop? I was also a bit unsure about the inclusion of omega and Q calculations at each timestep in pisoFoamTurbine as well.

Any advice or direction to additional resources would be appreciated!

All the best, Callum

petebachant commented 4 years ago

Not to hijack this thread, but I had a similar goal, and wanted to simulate vertical axis turbines, so I started turbinesFoam, which uses the fvOptions framework to add ALM forces to any solver. That might be useful towards your goal. Currently it's more focused at the turbine scale instead of farm scale, but it would be good to merge with SOWFA if possible.

CallumG-Ed commented 4 years ago

Hi Pete,

not at all, thanks for your comment! It's always good to talk with turbine and OpenFOAM enthusiasts!

I was aware of your work and it seems ideal for what I am looking for in the immediate future as I am only looking at single devices either single or twin rotor. However, there may be a call for me look at farm scale later in my research and more importantly I was hoping to take advantage of the ability to couple OpenFAST within the turbine model.

Do you think OpenFAST coupling is something easily implimented within turbinesFoam?

All the best, Callum

petebachant commented 4 years ago

I haven't looked much into it, but I would like to. I opened up an issue if you'd like to discuss, share your requirements, etc.