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

New SRFSimpleFoam Solver without coriolis and centrifuga treml

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2014, 08:43
Default New SRFSimpleFoam Solver without coriolis and centrifuga treml
  #1
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi every one,
I am looking for a help from you people, I am trying to mimic the SRFSimpleFoam solve without Coriolis and centrifugal force term.

I have very small experience in creating/editing solvers, I have edited successfully MRFSimpleFoam, it was very simple, just I removed Coriolis term in UEqn.H. then I complied it.

In the case of SRFSimpleFoam, I tried to subtract the effect of those two forces in the UrelEqn.H, but its not working.

what is the right way to do it? please give me some information...

Error Message:

In file included from mySRFSimpleFoam.C:62:0:
UrelEqn.H: In function ‘int main(int, char**)’:
UrelEqn.H:8:14: error: ‘omega_’ was not declared in this scope
UrelEqn.H:8:23: error: ‘Urel_’ was not declared in this scope
UrelEqn.H:9:29: error: ‘mesh_’ was not declared in this scope
make: *** [Make/linux64GccDPOpt/mySRFSimpleFoam.o] Error 1


Thanks in advance,
Sivakumar
sivakumar is offline   Reply With Quote

Old   May 7, 2014, 09:11
Default
  #2
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi There,
I think, I got it,

Just I need to remove the, SRF -->Su from the UrelEqn.H

in the SRFModel.C

Foam:: SRF::SRFModel::Su() const
{
return Fcoriolis() + Fcentrifugal();
}

So I think, I need to remove only this term from the relative momentum predictor

I am right or wrong?

Please give me your suggestions,

Thanks,
Sivakumar
sivakumar 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



All times are GMT -4. The time now is 15:51.