|
[Sponsors] |
February 21, 2024, 08:49 |
Openfoam bodyforce
|
#1 |
New Member
Sangkyu Baek
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Hi guys, I am doing a research in a different field but I wanted to connect my research topic to CFD so I recently started learning to use openFoam. I have been trying to reproduce a simulation from a journal and have figured out about most of the settings of the simulation I want to do but this simulation has sin(4y) to x direction as a source term. How can I implement this bodyforce into either simpleFoam or pimpleFoam?
Thanks, |
|
February 22, 2024, 18:52 |
|
#2 |
Member
Shravan
Join Date: Mar 2017
Posts: 73
Rep Power: 9 |
Hello,
You will need to use fvOptions And probably for the type of force that you have mentioned (a sinusoidal forcing varying spatially), this will be useful to you: https://www.openfoam.com/documentati...ces-coded.html See the description on implementation here: https://www.openfoam.com/documentati...8H_source.html Finally, I also think this thread might be of help How to add a body force to a momentum equation And for an example, see this answer in the same thread Hope this serves as a starting point for you Good luck! |
|
Tags |
body force inclusion, pimplefoam, simplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM v11 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 0 | July 11, 2023 06:34 |
How to develop OpenFOAM with CMake and popular IDEs | cosscholar | OpenFOAM Programming & Development | 0 | March 16, 2022 16:17 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |