|
From: Steve P. <sj...@gm...> - 2022-11-01 16:28:31
|
The error message is when the code is reading the IMESH line from the file. Is that line longer than 1024 chars? If so, try setting the MAXLINE setting at the top of fix_emit_face_file.cpp to 16384 instead of 1024. Recompile and try again. If line length is not the issue, then the 146 numbers in the line are likely not in ascending order. That is what the error message is flagging. Steve On Tue, Nov 1, 2022 at 9:59 AM Moore, Stan via sparta-users < spa...@li...> wrote: > Could be an overflow issue, not sure. Can you post a minimal example that > reproduces the issue? > ------------------------------ > *From:* Sachin Nair <sac...@ut...> > *Sent:* Tuesday, November 1, 2022 9:31 AM > *To:* spa...@li... < > spa...@li...> > *Subject:* [EXTERNAL] [sparta-users] Issue with "fix emit/face/file" > command > > Some people who received this message don't often get email from > sac...@ut.... Learn why this is important > <https://aka.ms/LearnAboutSenderIdentification> > Hi SPARTA users, > > I am using the "fix emit/face/file" command to emit particles inside the > domain. My code works perfectly for 145 x 145 mesh points on the 'emit' > face but shows an error when I increase my number of mesh points to 146 x > 146. The error message is as shown: > > ERROR on proc 0: Misformatted section in inflow file > (../fix_emit_face_file.cpp:625) > > I have successfully run my code for various numbers of mesh points less > than 145 in each direction. But when the number of cells goes beyond 145 I > face the above error every time. Is there any restriction on the maximum > number of cells we can use to emit particles using the "fix emit/face/file" > command? > > Thanks and Best Regards, > > Sachin Nair > Graduate Student > The University of Texas at Austin > > > _______________________________________________ > sparta-users mailing list > spa...@li... > https://lists.sourceforge.net/lists/listinfo/sparta-users > |