The problem of Boundary velocity model/Ascii data model

When I try to specify the model surface velocity using multiple ascii data files over time, the following error is reported:


My ascii data file and PRM file for prescribed speed section are as follows:

subsection Boundary velocity model
set Prescribed velocity boundary indicators = top:ascii data
set Tangential velocity boundary indicators = bottom, lowereast
subsection Ascii data model
set Data directory = /home/lyp/TK_new_model/velocity_for_model/
set Data file name = chunk_2d_top.%d.txt
set Data file time step = 1e6
set Use spherical unit vectors = true
set First data file number = 0
set Scale factor = 0.01
end
end

chunk_2d_top.00.txt
chunk_2d_top.01.txt

chunk_2d_top.43.txt
chunk_2d_top.44.txt

How should I modify the PRM file to solve this problem?
Thank you in advance for the help.
Yuanpeng Liu

Hi Yuanpeng!

I think it might have something to do with the identification for your velocity file, especially for file number. As you have prescribed “top” as one indicator, there’s no need for you to set chunk_2d_top.%d.txt. Instead, I think trying chunk_2d_%s.%d.txt might be helpful.

Best,
Xiang He

Dear He Xiang:
Thank you for your reply!
I changed the filename as your suggested:
set Data file name = chunk_2d_%s.%02d.txt
And it works.
Thanks again for your advice!
Best wishes to you!
Yuanpeng Liu

You are welcome!!