CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

New solver and Segmentation fault (core dumped)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By snak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2021, 04:33
Smile New solver and Segmentation fault (core dumped)
  #1
New Member
 
MinShin Kwon
Join Date: Jul 2021
Posts: 2
Rep Power: 0
MinShin is on a distinguished road
Hello,
it's first time to write a thread for handling my big obstacles.
From last month, I put my effort to be familiar with code development for my MS degree.

And, this is what I have done for new solver and the bad result.

-----------------------------------------------------------------------------------

<New solver for checking>

I have modified icoFoam standard solver, giving it New solver name

(1) Using command "cp -r", I copied icoFoam to $USER/application/solver
(2) Change directory name from "icoFoam" into "icoTFoam"
(3) Command "wclean"
(4) Change code source file name from "icoFoam.C" into "icoTFoam.C"
(5) Directory context modification
Make>files => Change file context "icoFoam.C" into "icoTFoam.C"
Make>files => Change file context "$(FOAM_APPBIN)" into "$(FOAM_USER_APPBIN)"
(6) And command "wmake" for compiling New solver
(7) Applying "icoTFoam" solver to several tutorial example, but NOT useful.

===> I just got this message on terminal screen :

Quote:
segmentation fault (core dumped)
-----------------------------------------------------------------------------------

As you can understand, I just changed solver name and location of files for the new solver.

But, I just got this message. (##I also tried same process in the case of other standard solver too, for double checking, but anything get better##)

Plz, let me solve this issue for developing further New customized solver.

Thank you for reading.
MinShin is offline   Reply With Quote

Old   August 27, 2021, 16:34
Default Custom icoFoam
  #2
New Member
 
Drupada Roy
Join Date: Aug 2021
Posts: 1
Rep Power: 0
Roy98 is on a distinguished road
Hey, may be I can help you. Just follow the steps of this link.



https://www.google.com/url?sa=t&rct=...ocmPzLso5RFn_8



But may be, you want to change the name only. Just follow the 1st few steps. Hope it will solve your problem!


Best wishes.
Roy98 is offline   Reply With Quote

Old   August 30, 2021, 06:04
Default
  #3
New Member
 
MinShin Kwon
Join Date: Jul 2021
Posts: 2
Rep Power: 0
MinShin is on a distinguished road
Hello, Roy.

I was thirsty for reply to this problem, and you did it.

Thank you for your kindness.


I follow the process described at the link you referred to.

BUT, sadly, consequences is same as before......
MinShin is offline   Reply With Quote

Old   September 4, 2021, 05:00
Default
  #4
Senior Member
 
shinji nakagawa
Join Date: Mar 2009
Location: Japan
Posts: 113
Blog Entries: 1
Rep Power: 18
snak is on a distinguished road
Could you put a log file from your run and a compressed case file you used. It may help people they wanna help this community.
MinShin likes this.
snak is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault (core dumped) Sugajen OpenFOAM Running, Solving & CFD 1 August 2, 2017 12:06
Segmentation fault (core dumped) zhoubiao1088 OpenFOAM Running, Solving & CFD 4 March 13, 2017 20:06
Segmentation fault (core dumped) NH1994 OpenFOAM Pre-Processing 0 January 9, 2015 03:20
Segmentation fault (core dumped) NH1994 OpenFOAM Programming & Development 0 January 9, 2015 01:24
Segmentation fault (core dumped) when changing pressure BC jptorol OpenFOAM Running, Solving & CFD 0 September 25, 2013 18:05


All times are GMT -4. The time now is 20:01.