Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error related to tutorial of SandiaD case in pdfFoam #2

Open
nkumarme opened this issue Jan 6, 2022 · 13 comments
Open

Error related to tutorial of SandiaD case in pdfFoam #2

nkumarme opened this issue Jan 6, 2022 · 13 comments

Comments

@nkumarme
Copy link

nkumarme commented Jan 6, 2022

I had successfully installed the pdfFoam in OpenFOAM-2.1.x. I tried to run the default SandiaD case given in the tutorial of pdfFoam. The simulation is not running because some files are missed (SandiaD/constant/boundaryData/jet/points). I have attached the screenshots of the error shown while simulating the SadiaD case.

Please have a look. I am positively looking for your valuable inputs.

Error.pdf

@wildmichael
Copy link
Owner

Sorry for the late answer, I missed the notification...

You'll have to run the blockMesh utility to generate the mesh.

@nkumarme
Copy link
Author

Thanks for your reply.
First, I ran the blockMesh utility. Then, I tried to run the SandiaD case using pdfSimpleFoam solver. I have attached the SandiaD case.

Please have a look and help me. Can I have your mail-Id So I can able to communicate easily?
SandiaD.zip

@wildmichael
Copy link
Owner

Without the output I won't be able to help much. If you use the Allrun script the output should be redirected to a log file automatically.
Not a big fan of handing out my email address...

@wildmichael
Copy link
Owner

And please refrain from posting the same message or typo fixes as new messages. With the three dots you can edit a previous message.

@nkumarme
Copy link
Author

Sorry, I am new to this platform, therefore, not aware of the full features of GitHub.

I used the Allrun scripts. But the simulation is not yet started. Please look at the attached zip file (full case with output log files). Please advise rectifying the error shown in the log files.

log_files.zip

@Rockbeth
Copy link

Has this problem been resolved? In fact, I have just encountered the same problem as you. I only ran Allrun without making any changes to the code, but it also displayed "cannot find file/public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD/constant/boundaryData/jet/points at line 0.". Below are some of my output files attached.

slurm.out(Output run through script files)

WARNING: $LD_LIBRARY_PATH does not agree with $LD_LIBRARY_PATH_modshare counter. The following directories' usage counters were adjusted to match. Note that this may mean that module unloading may not work correctly.
Compiling ../tools/Rtime application
Making dependency list for source file R.C
SOURCE=R.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/RAS/RASModel -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/R.o
In file included from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.H:360:0,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/labelField.H:39,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/primitiveFields.H:37,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/pointField.H:36,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/edge.H:40,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/edgeList.H:32,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/primitiveMesh.H:57,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/polyMesh.H:44,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/fvMesh.H:50,
                 from /public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/fvCFD.H:7,
                 from R.C:36:
/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C: In member function ‘void Foam::Field<Type>::operator=(const Foam::VectorSpace<Form, Cmpt, nCmpt>&)’:
/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C:680:42: warning: typedef ‘VSType’ locally defined but not used [-Wunused-local-typedefs]
     typedef VectorSpace<Form,Cmpt,nCmpt> VSType;
                                          ^
In file included from R.C:52:0:
/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/checkTimeOptions.H: In function ‘int main(int, char**)’:
/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/checkTimeOptions.H:6:13: warning: variable ‘endTime’ set but not used [-Wunused-but-set-variable]
 Foam::label endTime = Times.size();
             ^
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/RAS/RASModel -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/R.o -L/public21/home/sc1/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib \
     -lincompressibleRASModels -lincompressibleTransportModels -lfiniteVolume -lgenericPatchFields -lOpenFOAM -ldl   -lm -o /public21/home/sc1/OpenFOAM/sc1-2.1.1/platforms/linux64GccDPOpt/bin/Rtime
Running blockMesh on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
Running pdfSimpleFoam on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
Running Rtime on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
Running sample on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
Running ../tools/createPlots on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
Running ../tools/plotConvergence on /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD

log.blockMesh

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.1-221db2718bbb
Exec   : blockMesh
Date   : Dec 21 2023
Time   : 14:03:38
Host   : "y2215.para.bscc"
PID    : 6839
Case   : /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
    "/public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

	Basic statistics
		Number of internal faces : 2
		Number of boundary faces : 14
		Number of defined boundary faces : 14
		Number of undefined boundary faces : 0
	Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 0.001

There are no merge patch pairs edges

Writing polyMesh
----------------
Mesh Information
----------------
  boundingBox: (0 0.000149429 -0.0130734) (0.8 0.149429 0.0130734)
  nPoints: 3850
  nCells: 1836
  nFaces: 7432
  nInternalFaces: 3584
----------------
Patches
----------------
  patch 0 (start: 3584 size: 1836) name: front
  patch 1 (start: 5420 size: 1836) name: back
  patch 2 (start: 7256 size: 8) name: jet
  patch 3 (start: 7264 size: 6) name: pilot
  patch 4 (start: 7270 size: 20) name: coflow
  patch 5 (start: 7290 size: 54) name: outerWall
  patch 6 (start: 7344 size: 34) name: outflow
  patch 7 (start: 7378 size: 54) name: axis

End

log.pdfSimpleFoam

/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.1-221db2718bbb
Exec   : pdfSimpleFoam
Date   : Dec 21 2023
Time   : 14:03:40
Host   : "y2215.para.bscc"
PID    : 6842
Case   : /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field U



--> FOAM FATAL IO ERROR: 
cannot find file

file: /public21/home/sc1/bxy/tpdf/pdfFoam-master/tutorials/SandiaD/constant/boundaryData/jet/points at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting

@nkumarme
Copy link
Author

nkumarme commented Dec 21, 2023 via email

@Rockbeth
Copy link

Rockbeth commented Dec 21, 2023

Thank you for your answer!

In fact, I also want to do something just similar to you. I wanna learn and add this module to the project I am working on. It seems that I need to work harder : ).

@Rockbeth
Copy link

May I ask if the code related to this part of your project can be made public? If possible, I would greatly appreciate it. If you think this is inappropriate, I apologize for my reckless behavior.

@nkumarme
Copy link
Author

nkumarme commented Dec 21, 2023 via email

@Rockbeth
Copy link

是的,我们可以做到。但为此,我们必须修改代码。
...
2023 年 12 月 21 日星期四下午 12:40 Rockbeth @.>写道: 请问是否可以制作与项目这部分相关的代码 公共?如果可能的话,我将不胜感激。如果你认为这是 不合适,我为我的鲁莽行为道歉。 — 直接回复此邮件,在GitHub上查看 <#2 (评论)>, 或退订 https://github.com/notifications/unsubscribe-auth/ASBJYMKQZKL6C226LCT2PQ3YKPOFXAVCNFSM5LLUM3OKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWGU3TANBZHA3A . 您收到此消息是因为您创作了该线程。消息 ID: @.***>
-- 问候 纳文·库马尔 计算流体力学实验室 机械工程博士 印度理工学院鲁尔基分校,印度

If this doesn't disturb you, I am honored to have further communication and learning with you! I am a new graduate student from China, and this is my personal email. [email protected]

@Rockbeth
Copy link

Yes, we can do that. But for that we have to modify the code.

On Thu, Dec 21, 2023 at 12:40 PM Rockbeth @.> wrote: May I ask if the code related to this part of your project can be made public? If possible, I would greatly appreciate it. If you think this is inappropriate, I apologize for my reckless behavior. — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASBJYMKQZKL6C226LCT2PQ3YKPOFXAVCNFSM5LLUM3OKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWGU3TANBZHA3A . You are receiving this because you authored the thread.Message ID: @.>
-- Regards Naveen Kumar Computational Fluid Dynamics Lab *PhD in Mechanical Engineering * IIT Roorkee, INDIA

Sorry to bother you! Would you mind if I refer to your code content? I really want to cooperate with you!

@Rockbeth
Copy link

Sorry to bother you again. Unfortunately, I haven't solved this problem yet. Could I seek your help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants