|
[Sponsors] |
April 23, 2021, 16:29 |
fvOptions acousticDampingSource
|
#1 |
New Member
simona
Join Date: Apr 2021
Posts: 21
Rep Power: 5 |
Hi,
I want to add acousticDampingSource using fvOptions but I don't find this source, I try to make it, I copied the .H and .C files from the internet but when I compile I get this message make: *** No rule to make target 'Make/linux64GccDPInt32Opt/sources/derived/acousticDampingSource/acousticDampingSource.C.dep', needed by 'Make/linux64GccDPInt32Opt/sources/derived/acousticDampingSource/acousticDampingSource.o'. Stop |
|
April 26, 2021, 09:00 |
|
#2 |
Senior Member
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8 |
the .C and .H - files are already compiled, you do not need to compile them again.
what you need is a fvOptions-file in the constant directory. the minimal example from https://www.openfoam.com/documentati...ingSource.html looks like this: Code:
acousticDampingSource1 { // Mandatory entries (unmodifiable) type acousticDampingSource; // Mandatory entries (runtime modifiable) frequency 3000; URef UMean; origin (-1.25 0 0); radius1 1.2; radius2 1.65; // Optional entries (runtime modifiable) w 20; // Conditional optional entries (runtime modifiable) // Either of the below // Option-1 UNames (<UName1> <UName2> ... <UNameN>); // Option-2 U U; // Mandatory/Optional (inherited) entries ... } |
|
October 7, 2023, 11:30 |
|
#3 | |
New Member
Join Date: Sep 2023
Posts: 5
Rep Power: 2 |
Quote:
I have a doubt that it can be implemented into my equation if I have a acoustic equation. And I want to know how difficult it is to copy a fvOptions for my equation. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fvOptions limitTemperature crashing in compressibleInterFoam | JM27 | OpenFOAM Running, Solving & CFD | 38 | November 29, 2023 03:55 |
Can I use fvOptions to couple a solid region and a fluid region? | titanchao | OpenFOAM Running, Solving & CFD | 4 | January 14, 2022 07:55 |
What are the units used in the thermophysicalProperties and fvOptions dictionaries? | ophr | OpenFOAM Pre-Processing | 2 | June 16, 2019 01:29 |
Configuration of boundary conditions and fvOptions file | Raza Javed | OpenFOAM Running, Solving & CFD | 16 | May 3, 2019 16:35 |
Power and Enthalpy in fvOptions file | Raza Javed | OpenFOAM Running, Solving & CFD | 1 | April 26, 2019 10:03 |