|
[Sponsors] |
How to save viscous drag force and pressure drag force at each time step ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2022, 05:05 |
How to save viscous drag force and pressure drag force at each time step ?
|
#1 |
New Member
Alexis DUBOIS
Join Date: Jun 2022
Posts: 2
Rep Power: 0 |
Hello,
I would like to save pressure drag force and viscous drag force at each iteration or time step in a same file. I know how to save them in different files. -> Results -> Compute forces -> Create a macro to save files at each iteration or time step. However, I would like to save them in a same file like that : Iteration Viscous Force Pressure Force Total Force 0 0.25 0.25 0.5 1 0.3 0.3 0.6 2 0.4 0.4 0.8 ... ... ... ... Can you help me ? Have a nice day. |
|
July 12, 2022, 13:11 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
When Fluent asks to Overwrite? choose no and it will append instead. Or is your setup special and you do not get this prompt?
|
|
July 18, 2022, 04:54 |
|
#3 |
New Member
Alexis DUBOIS
Join Date: Jun 2022
Posts: 2
Rep Power: 0 |
Thank you for your reply, it works.
|
|
July 30, 2022, 09:28 |
|
#4 |
Member
MEK
Join Date: Oct 2016
Posts: 39
Rep Power: 10 |
Can u share the macro to save file.
|
|
August 5, 2022, 04:44 |
|
#5 |
New Member
Augustin MOREL
Join Date: Aug 2022
Location: Paris, France
Posts: 3
Rep Power: 4 |
Hi,
/report/forces/wall-forces no 2 () 1 0 yes "Report-drag-forces" yes no : because I don't want a report for all zones 2 : the id of the zone that I want 1 : x-Component 0 : y-Component yes : to write a file "Report-drag-forces" : name of the file yes : append new values in the same file I write this in : Solution > Calculation activities > Execute commands |
|
August 6, 2022, 06:20 |
|
#6 |
Member
MEK
Join Date: Oct 2016
Posts: 39
Rep Power: 10 |
Thank u so much
|
|
Tags |
drag forces, fluent, pressure force, viscous force |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence problem of OF | WUYing | OpenFOAM Running, Solving & CFD | 2 | September 20, 2021 11:09 |
interDyMFoam with VOF + 6DOF instable | pbalz | OpenFOAM Running, Solving & CFD | 11 | October 9, 2020 06:19 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
Dam Break sigFpe Error | aow | OpenFOAM Running, Solving & CFD | 2 | May 24, 2018 15:32 |
udf for compute pressure drag force | fatemi | Fluent UDF and Scheme Programming | 1 | January 26, 2018 14:27 |