Does anyone know how to output the Fluidic Force in a file? like .dat
I can see the calculated forces in the solver output, but not in any output file, like *.ep or *.vtu, I tried to set the SaveScalar to save it, but failed, please let me know if you can help on this. thanks!
Fluidic Force Output
Re: Fluidic Force Output
ForceCompute: -------------------------------------
ForceCompute: Computing Fluidic Force:
ForceCompute: -------------------------------------
ForceCompute: Forces on Boundary bc 4
ForceCompute: Fluidic Force: 1.740868E+00 -7.361558E-03 0.000000E+00
ForceCompute: Resultant Force: 1.740884E+00
ForceCompute: Contact Area: 4.000000E+00
Does anyone know how to output those results in a result file? like .csv. I can see this in the solver not any output file.
ForceCompute: Computing Fluidic Force:
ForceCompute: -------------------------------------
ForceCompute: Forces on Boundary bc 4
ForceCompute: Fluidic Force: 1.740868E+00 -7.361558E-03 0.000000E+00
ForceCompute: Resultant Force: 1.740884E+00
ForceCompute: Contact Area: 4.000000E+00
Does anyone know how to output those results in a result file? like .csv. I can see this in the solver not any output file.
Re: Fluidic Force Output
solution found.
Re: Fluidic Force Output
for the records:
and the solution is ... ?
Matthias
and the solution is ... ?
Matthias
Re: Fluidic Force Output
The solution is as follows, please note it's important to set this solver at the lowest priority and it will output the cd and cl with time. FluidForce 4 is relate to your BC number.
Solver 1
Equation = SaveScalars
Variable 2 = FluidForce 4
Filename = FluidicForces.dat
Variable 1 = Time
Procedure = "SaveData" "SaveScalars"
Exec Solver = After Timestep
End
Boundary Condition 4
Target Boundaries(1) = 4
Name = "Walls"
Velocity 1 = 0
Velocity 2 = 0
Save Scalars = True
Calculate Fluidic Force = True
End
Solver 1
Equation = SaveScalars
Variable 2 = FluidForce 4
Filename = FluidicForces.dat
Variable 1 = Time
Procedure = "SaveData" "SaveScalars"
Exec Solver = After Timestep
End
Boundary Condition 4
Target Boundaries(1) = 4
Name = "Walls"
Velocity 1 = 0
Velocity 2 = 0
Save Scalars = True
Calculate Fluidic Force = True
End
Re: Fluidic Force Output
Thank you, I think this might be useful for others also...
Matthias
Matthias