Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jwan1

Pages: [1]
Wind Engineering (WE-UQ) / Re: Integral length scale in DFMethod
« on: June 04, 2021, 02:06:03 AM »
Hello Parsa

Sorry for the late reply. May I ask for more details regarding the your numerical simulations? Such as what are the boundary conditions for the lateral boundaries in your computational domain?

If your numerical simulations are similar to the homogeneous turbulent flow tutorial as you have mentioned. Please verify that if you have employed the periodic boundary conditions for the lateral boundaries. If this is the case, due to the situation that the generated synthetic turbulence is periodic in the lateral directions, you should integral the correlation functions from the point of interest (at which its length scales are computed) to a point that is half-wdith of the lateral dimension of the computation away from the former point. Otherwise, you will get length scales twice as large as the desired ones, which happens to be the issue you encounted. If this is not case, can you please share me with your case files and related results so that I investigate your issue? Thanks.

Again I'm sorry for this late reply and I hope that this can resolve your issue.

Best regards,

Wind Engineering (WE-UQ) / Re: TInF questions
« on: September 03, 2020, 04:23:13 PM »
Dear Sir,

I solved the problem and the error with exponential velocity profile by using smaller time steps. However the problem with DFSEM model is not solved yet, so I explained in the attach file in details about this issue.

Thank you in advance.

Before answering your issues, please note that the latest version of the TInF tool and its source code will always be first updated at our repository on Github ( The latest documentation will be updated at Based on the screenshots you have provided in your attach file, it seems that you are using an out-dated version of the TInF tool. Please access the above link to get the latest one. We also provide some tutorials in the repository ( One major modification we have made in the latest code is that the parameters related to the turbulent intensity are now replaced by the parameters related Reynolds stresses. Another modification concerns how integral length scales should be specified. More details can be found in the latest documentation.

Regarding the issues mentioned in your attach file

1. If I use boundary condition folders for performing the command “wmake”, I will be able to
run models with SEM and DFM (i.e., digitalfilter and syntheticeddy), but not DFSEM.

Response: The boundary conditions "digitalfilter" and "syntheticeddy" are out of date, and they are now renamed as "turbulentDFMInlet" and "turbulentSEMInlet".  The latest source code contain four boundary conditions, i.e., turbulentDFMInlet, turbulentSEMInlet, turbulentDFSEMInlet and turbulentATSMInlet.

2. If I use turbulentInflow_OpenFOAM6 folder for performing the command “wmake”, the
platform folder was not produced. Its error will be stated.

Response: Since you are using OpenFOAM 7, please choose the source code corresponding to this version for compilation only. Choosing the wrong version will lead to unpredictable compilation errors.

3. If I use turbulentInflow_OpenFOAM7 folder for performing the command “wmake”, the
platform folder was produced. However, it has some issues in running models with DFSEM which be explained in follows.

Response: The issues (except for the last one) related to "DFSEM" mentioned in the attached file are as a consequence of an incorrect format of parameters input. Please read the instructions in the latest documentation for how to do it correctly. As for the last issue, it is difficult for us to tell what leads to the situation that the program stopped at a certain point based on the information provided in the screenshot. Can you provide the whole project case in addition? Please note that the mesh files can be deleted to reduce the size of the files. It noteworthy that we recommend the turbulent spot method (i.e., the "turbulentATSMInlet" boundary condition) over the divergence-free synthetic eddy method (i.e., the "turbulentDFSEMInlet" boundary condition). Please read the documentation for the difference between the input parameters required by different boundary conditions.

Wind Engineering (WE-UQ) / Re: TInF questions
« on: September 03, 2020, 04:42:01 AM »
Excuse me, when the turbulent spot method will be available to use? and I was wondering if you let me know approximately when the issue with DFSEM will be solved?

The turbulent spot method proposed by Hannes Kröger and Nikolai Kornev ("Generation of divergence free synthetic inflow turbulence with arbitrary anisotropy") is actually already available in the tool, see the boundary condition "turbulentATSMInlet".

Wind Engineering (WE-UQ) / Re: TInF questions
« on: September 01, 2020, 03:38:49 PM »
Dear Sir,

I was wondering if you could let me know the reason of below errors:
I tried to use exponential velocity profile at inlet but I got below error:
(1 0 0 0 1 0 0 0 1)
local x-axis: (1 0 0)
local y-axis: (0 1 0)
local z-axis: (0 0 1)
global position of the origin of the local coordinate sytem: (0 0 0)
coordinates tranform matrix: (1 0 0 0 1 0 0 0 1)
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/"
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:?
#4 Foam::sqrt(Foam::tmp<Foam::Field<double> > const&) at ??:?
#5 Foam::digitalFilterFvPatchVectorField::initialiseParameters() at ??:?
#6 Foam::digitalFilterFvPatchVectorField::updateCoeffs() at ??:?
#7 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
#8 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
#9 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/"
#11 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
Floating point exception (core dumped)

I tried also to run DFSEM but I got below error:
IOstream error at line 109.

Thank you in advance.


I'm here to help you sort out the error you encountered during the implementation of the turbulent inflow boundary condition. Would you please provide us with your OpenFOAM project files (or your input for the 'inflowProperties' file) so that we can look into it? Thank your.

Best regards

Pages: [1]